1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
--- # file: dev.yaml - hosts: dev remote_user: testuser become: true become_user: root gather_facts: false pre_tasks: - name: Gathering Facts gather_facts: tags: - always roles: - role: user_add tags: user_add - role: docker tags: docker