diff --git a/automation/playbooks/update.yml b/automation/playbooks/update.yml index 9a21bf1..58390ad 100644 --- a/automation/playbooks/update.yml +++ b/automation/playbooks/update.yml @@ -3,6 +3,9 @@ become: yes # Use privilege escalation (e.g., sudo) gather_facts: true tasks: + - name: Update SSH keys + ansible.builtin.include_tasks: "tasks/users.yml" + - name: Update each WLMOJ repository environment: GIT_TERMINAL_PROMPT: 0 @@ -38,13 +41,13 @@ - name: Remove outdated docker artifacts ansible.builtin.include_tasks: "tasks/cleanup.yml" - # - name: Update docker stack - # docker_stack: - # state: present - # name: wlmoj - # compose: - # - /home/judge/docker/dmoj/docker-stack.yml - # when: ansible_hostname == "general" + # - name: Update docker stack + # docker_stack: + # state: present + # name: wlmoj + # compose: + # - /home/judge/docker/dmoj/docker-stack.yml + # when: ansible_hostname == "general" - name: Update packages apt: diff --git a/automation/update_nodes.sh b/automation/update_nodes.sh index a6645a8..d2f481f 100755 --- a/automation/update_nodes.sh +++ b/automation/update_nodes.sh @@ -11,4 +11,4 @@ cd "$( pwd -P )" || exit 1 # cd to the directory of the script to ensure relative paths work -ansible-playbook -i inventory.ini playbooks/update.yml +ansible-playbook -i inventory.ini --ask-vault-pass playbooks/update.yml