mise au point
This commit is contained in:
16
Readme.md
16
Readme.md
@@ -1,23 +1,23 @@
|
||||
## Atelier d'introduction
|
||||
|
||||
ansible cibles -u formation -k -m command -a uptime -o
|
||||
ansible cibles -m command -a uptime -o
|
||||
|
||||
ansible cibles -u formation -k -m copy -a 'src=/etc/profile.d/z_my_profile.sh dest=/etc/profile.d mode=0644 owner=root group=root'
|
||||
ansible cibles -m copy -a 'src=/etc/profile.d/z_my_profile.sh dest=/etc/profile.d mode=0644 owner=root group=root'
|
||||
|
||||
ansible cibles -u formation -k -m yum -a 'name=vim-enhanced state=present'
|
||||
ansible centos -m yum -a 'name=vim-enhanced state=present'
|
||||
|
||||
ansible cibles -u formation -k -m yum -a 'name=nano state=absent'
|
||||
ansible centos -m yum -a 'name=nano state=absent'
|
||||
|
||||
|
||||
ansible cibles -u formation -k -m file -a 'path=/srv/sib owner=formation state=directory'
|
||||
ansible cibles -m file -a 'path=/srv/sib owner=formation state=directory'
|
||||
|
||||
|
||||
ansible cibles -u formation -k -m lineinfile -a 'path=/etc/profile.d/editor.sh create=true line="export EDITOR=vim" state=present'
|
||||
ansible cibles -m lineinfile -a 'path=/etc/profile.d/editor.sh create=true line="export EDITOR=vim" state=present'
|
||||
|
||||
ansible cibles -u formation -k -m get_url -a 'url=https://cours.opendoor.fr/Fichiers/vimrc dest=/etc/vimrc mode=0644'
|
||||
ansible cibles -m get_url -a 'url=https://cours.opendoor.fr/Fichiers/vimrc dest=/etc/vimrc mode=0644'
|
||||
|
||||
|
||||
ansible cibles -u formation -k -m service -a 'name=crond state=restarted'
|
||||
ansible centos -m service -a 'name=crond state=restarted'
|
||||
|
||||
|
||||
## Setup
|
||||
|
||||
Reference in New Issue
Block a user