server-config/roles/setup/tasks/ansible.yml

28 lines
613 B
YAML

---
- name: Verifica installazione git
yum: name=git state=present
tags: git
- name: Verifica installazione ansible
yum: name=ansible state=present
tags: ansible
- name: Installazione python-argparse
yum: name=python-argparse state=present
tags: ansible
- name: Download della gestione client con ansible
git:
repo: "https://github.com/bglug-it/ps-clientmgmt.git"
dest: /home/amgmt/clientmgmt
tags:
- git
- ansible
- name: Attivo sotto modulo ansdyninv
shell: cd /home/amgmt/clientmgmt/ansdyninv; git submodule init && git submodule update
tags:
- git
- ansible