| - name: Ensure MAAS Ansible Config Directory |
| - name: Ensure Ansible Compute Config Files |
| repo={{ provision.location }} |
| - name: Ensure Ansible Roles Exist |
| command: cp -rf /tmp/ansible.maas/{{ provision.role_path }} /etc/maas/ansible |
| - name: Ensure Ansible Roles Ownership |
| file: dest=/etc/maas/ansible/{{ provision.role_path }} owner=maas group=maas recurse=yes |
| - name: Ensure Ansible Provisioning Script |
| dest=/etc/maas/ansible/do-ansible |
| - name: Ensure Provisioning Log Directory |
| path=/etc/maas/ansible/logs |
| - name: Ensure Compute Node Playbook |
| src=files/compute-node.yml.j2 |
| dest=/etc/maas/ansible/compute-node.yml |