diff --git a/6-12-2023 Cohort 1 Sync Notes.md b/6-12-2023 Cohort 1 Sync Notes.md index c295fab..9b2f14f 100644 --- a/6-12-2023 Cohort 1 Sync Notes.md +++ b/6-12-2023 Cohort 1 Sync Notes.md @@ -34,12 +34,15 @@ Ansible magic variables: https://docs.ansible.com/ansible/latest/reference_appen * Explained that `become: true` gives extra privileges to the tasks that run under that play/task, and make sure to stop using it once you're done using administrative ansible modules and can go back to being a regular user. * You can use block to group tasks by a `when` condition or a `become` command * How to dump ansible variables in a playbook: + ``` ... tasks above here register: pricer_container - error: msg: "{{ pricer_container }}" ``` + * All tasks return some values: https://docs.ansible.com/ansible/2.9/reference_appendices/common_return_values.html#common-return-values * docker_container returns some information about the container: https://docs.ansible.com/ansible/2.9/modules/docker_container_module.html#return-values -* Next step is to figure out how to extract the container name so we can use it later to stop and re-start the container with systemd, then do it again once selenium is installed \ No newline at end of file +* Next step is to figure out how to extract the container name so we can use it later to stop and re-start the container with systemd, then do it again once selenium is installed +1704h: ended \ No newline at end of file