Update readme.txt
This commit is contained in:
20
readme.txt
20
readme.txt
@@ -1,26 +1,26 @@
|
||||
ansible sur le poste à configurer
|
||||
s'inspirer de l'exemple screen !
|
||||
|
||||
===
|
||||
|
||||
yum install -y wget bzip2
|
||||
yum install -y wget bzip2 unzip
|
||||
|
||||
wget https://github.com/ownport/portable-ansible/releases/download/v0.4.2/portable-ansible-v0.4.2-py2.tar.bz2
|
||||
tar xvfj portable-ansible-v0.4.2-py2.tar.bz2
|
||||
$ wget https://github.com/ownport/portable-ansible/releases/download/v0.4.2/portable-ansible-v0.4.2-py2.tar.bz2
|
||||
$ tar xvfj portable-ansible-v0.4.2-py2.tar.bz2
|
||||
|
||||
ln -s ansible ansible-playbook
|
||||
$ ln -s ansible ansible-playbook
|
||||
|
||||
creer un fichier hosts.oracle avec le contenu suivant
|
||||
|
||||
[local]
|
||||
localhost ansible_connection=local
|
||||
|
||||
scp mes playbooks dans /root
|
||||
|
||||
merlin@Dell-E7440:~/scripts/configure_oracle $ scp -r * root@192.168.1.241:/root
|
||||
$ pwd = /root
|
||||
récupérer mes playbooks dans /root
|
||||
$ wget https://github.com/Yacine31/configure_oracle/archive/2020.09.10.zip
|
||||
|
||||
ou rsync :
|
||||
merlin@Dell-E7440:~/scripts/configure_oracle $ rsync -av * root@192.168.1.241:/root
|
||||
$ unzip 2020.09.10.zip
|
||||
|
||||
python ansible-playbook book-config-oel-6-7.yml -i hosts.oracle
|
||||
$ mv configure_oracle-2020.09.10/* .
|
||||
|
||||
$ python ansible-playbook book-config-oel-6-7.yml -i hosts.oracle
|
||||
|
||||
Reference in New Issue
Block a user