Correzione task di installazione in maniera non sincrona.
This commit is contained in:
parent
236b33f852
commit
173affc2bd
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
*.swp
|
*.swp
|
||||||
|
*.box
|
||||||
|
11
README.md
11
README.md
@ -7,3 +7,14 @@ Per configurarlo:
|
|||||||
$ ansible-playbook init.yml -u root --ask-pass \
|
$ ansible-playbook init.yml -u root --ask-pass \
|
||||||
-e "admin_sshkey=/path/to/id_rsa.pub"
|
-e "admin_sshkey=/path/to/id_rsa.pub"
|
||||||
$ ansible-playbook setup.yml
|
$ ansible-playbook setup.yml
|
||||||
|
|
||||||
|
# Gestione con vagrant #
|
||||||
|
|
||||||
|
Nel repo è stata caricata una macchina virtuale già pronta con Virtualbox per
|
||||||
|
l'uso con [`vagrant`](https://www.vagrantup.com/).
|
||||||
|
|
||||||
|
È pertanto possibile creare una macchina virtuale automatica eseguendo i
|
||||||
|
seguenti comandi:
|
||||||
|
|
||||||
|
$ vagrant box add clearos6 ./clearos6-1.0.0.box
|
||||||
|
$ vagrant init clearos6
|
||||||
|
@ -52,8 +52,6 @@
|
|||||||
sudo: yes
|
sudo: yes
|
||||||
register: first_repo_activate
|
register: first_repo_activate
|
||||||
when: centos_repo_installed|changed
|
when: centos_repo_installed|changed
|
||||||
async: 1800
|
|
||||||
poll: 60
|
|
||||||
tags: repo
|
tags: repo
|
||||||
|
|
||||||
- name: Attivo EPEL
|
- name: Attivo EPEL
|
||||||
@ -67,8 +65,6 @@
|
|||||||
shell: yum clean all && yum repolist
|
shell: yum clean all && yum repolist
|
||||||
sudo: yes
|
sudo: yes
|
||||||
when: epel_installed|changed
|
when: epel_installed|changed
|
||||||
async: 600
|
|
||||||
poll: 10
|
|
||||||
tags: repo
|
tags: repo
|
||||||
|
|
||||||
- name: Pulizia
|
- name: Pulizia
|
||||||
@ -82,6 +78,4 @@
|
|||||||
sudo: yes
|
sudo: yes
|
||||||
when: ansible_os_family == 'ClearOS'
|
when: ansible_os_family == 'ClearOS'
|
||||||
with_items: addin_pkgs
|
with_items: addin_pkgs
|
||||||
async: 3600
|
|
||||||
poll: 30
|
|
||||||
tags: pkg
|
tags: pkg
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Aggiunta pacchetti specifici ClearOS
|
- name: Aggiunta pacchetti specifici ClearOS
|
||||||
yum: name="{{ item }}" state=present
|
yum: name="{{ item }}" state=present
|
||||||
async: 1800
|
|
||||||
poll: 60
|
|
||||||
sudo: yes
|
sudo: yes
|
||||||
with_items: clearos_pkgs
|
with_items: clearos_pkgs
|
||||||
|
register: cleanos_install
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- include: clearos_pkgs.yml
|
- include: clearos_pkgs.yml
|
||||||
|
async: 180
|
||||||
|
poll: 30
|
||||||
tags: clearos
|
tags: clearos
|
||||||
|
|
||||||
- include: centos_pkgs.yml
|
- include: centos_pkgs.yml
|
||||||
|
async: 180
|
||||||
|
poll: 30
|
||||||
tags: centos
|
tags: centos
|
||||||
|
|
||||||
- include: ansible.yml
|
- include: ansible.yml
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
centos_repo_files:
|
centos_repo_files:
|
||||||
- CentOS-Base.repo
|
- CentOS-Base.repo
|
||||||
- CentOS-Debuginfo.repo
|
- CentOS-Debuginfo.repo
|
||||||
@ -12,40 +13,26 @@ centos_gpg_files:
|
|||||||
- RPM-GPG-KEY-CentOS-Testing-6
|
- RPM-GPG-KEY-CentOS-Testing-6
|
||||||
|
|
||||||
addin_pkgs:
|
addin_pkgs:
|
||||||
- git-svn
|
- git
|
||||||
- vim-enhanced
|
- vim-enhanced
|
||||||
- screen
|
- screen
|
||||||
- sshpass
|
- sshpass
|
||||||
- ansible
|
- ansible
|
||||||
|
|
||||||
clearos_pkgs:
|
clearos_pkgs:
|
||||||
- app-content-filter
|
|
||||||
- app-web-proxy
|
|
||||||
- app-proxy-report
|
|
||||||
- app-openldap-directory
|
|
||||||
- app-ntp
|
|
||||||
- app-configuration-backup
|
|
||||||
- app-firewall
|
|
||||||
- app-network
|
|
||||||
- app-users
|
|
||||||
- app-groups
|
|
||||||
- app-administrators
|
|
||||||
- app-password-policies
|
|
||||||
- app-accounts
|
|
||||||
- app-account-import
|
|
||||||
- app-services
|
- app-services
|
||||||
- app-software-repository
|
- app-software-repository
|
||||||
- app-software-updates
|
|
||||||
- app-ssh-server
|
|
||||||
- app-dhcp
|
|
||||||
- app-flexshare
|
|
||||||
- app-process-viewer
|
|
||||||
- app-log-viewer
|
- app-log-viewer
|
||||||
|
- app-process-viewer
|
||||||
|
- app-account-import
|
||||||
|
- app-ntp
|
||||||
|
- app-administrators
|
||||||
|
- app-password-policies
|
||||||
|
- app-user-profile
|
||||||
|
- app-openldap-directory
|
||||||
- app-print-server
|
- app-print-server
|
||||||
- app-samba
|
- app-samba
|
||||||
- app-user-profile
|
- app-flexshare
|
||||||
- app-date
|
- app-web-proxy
|
||||||
- app-marketplace
|
- app-proxy-report
|
||||||
- app-registration
|
- app-content-filter
|
||||||
- app-dashboard
|
|
||||||
- app-base
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user