blob: 5f68d3882d4c2419e4b1decea8f28b8a5e422232 [file] [log] [blame]
- name: Ensure MAAS Ansible Config Directory
become: yes
file:
path=/etc/maas/ansible
owner=maas
group=maas
state=directory
- name: Ensure Ansible Compute Config Files
become: yes
git:
repo=http://gerrit.opencord.org/maas
dest=/tmp/ansible.maas
clone=yes
force=yes
update=yes
- name: Ensure Ansible Roles
become_user: maas
command: cp -r /tmp/ansible.maas/{{ item }} /etc/maas/ansible owner=maas group=maas
with_items:
- roles
- name: Ensure Compute Node Playbook
become: yes
copy:
src=files/compute-node.yml
dest=/etc/maas/ansible/compute-node.yml
owner=maas
group=maas
mode=0644