22 lines
536 B
YAML
22 lines
536 B
YAML
---
|
|
|
|
# execute this role
|
|
- name: "install and configure common items"
|
|
hosts: "all"
|
|
serial: 2
|
|
become: true
|
|
tasks:
|
|
|
|
# due to semaphore bug we need to do this ourselves
|
|
- name: "force-update requirements"
|
|
ansible.builtin.command:
|
|
cmd: "ansible-galaxy install -f -r roles/requirements.yml"
|
|
become: false
|
|
delegate_to: "localhost"
|
|
changed_when: false
|
|
failed_when: false
|
|
|
|
# execute the role
|
|
- name: "execute role: common"
|
|
ansible.builtin.include_role:
|
|
name: "common"
|