2015-04-15 18:12:38 +02:00
|
|
|
---
|
|
|
|
|
2015-04-16 18:23:01 +02:00
|
|
|
- name: Verifica installazione git
|
2015-04-17 18:29:36 +02:00
|
|
|
yum: name=git state=present
|
2016-01-12 22:03:15 +01:00
|
|
|
become: yes
|
2015-04-17 18:29:36 +02:00
|
|
|
tags: git
|
2015-04-16 18:23:01 +02:00
|
|
|
|
2015-06-22 21:48:41 +02:00
|
|
|
- name: Verifica installazione ansible
|
|
|
|
yum: name=ansible state=present
|
2016-01-12 22:03:15 +01:00
|
|
|
become: yes
|
2015-06-22 21:48:41 +02:00
|
|
|
tags: ansible
|
|
|
|
|
2016-02-16 17:32:51 +01:00
|
|
|
- name: Checking for python-argparse
|
|
|
|
shell: rpm -q python-argparse
|
|
|
|
become: yes
|
|
|
|
register: check_argparse
|
|
|
|
ignore_errors: yes
|
|
|
|
changed_when: "check_argparse.rc == 1"
|
|
|
|
tags: ansible
|
|
|
|
|
2015-06-22 21:48:41 +02:00
|
|
|
- name: Installazione python-argparse
|
2016-02-15 22:19:39 +01:00
|
|
|
yum:
|
2015-09-28 20:06:06 +02:00
|
|
|
name: "ftp://fr2.rpmfind.net/linux/centos/6.7/extras/i386/Packages/python-argparse-1.2.1-2.el6.centos.noarch.rpm"
|
|
|
|
state: present
|
2016-01-12 22:03:15 +01:00
|
|
|
become: yes
|
2016-02-16 17:32:51 +01:00
|
|
|
when: check_argparse|changed
|
2015-06-22 21:48:41 +02:00
|
|
|
tags: ansible
|
|
|
|
|
2015-07-08 00:44:35 +02:00
|
|
|
#- 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
|