Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@control ~]# history
- 1 yum install python epel-release -y
- 2 yum install python38 epel-release -y
- 3 yum install -y ansible
- 4 vim /etc/hosts
- 5 ping ansible2
- 6 ping ansible1
- 7 exit
- 8 cat /etc/os-release
- 9 free -m
- 10 df -h
- 11 yum install -y vim bash-completion git
- 12 su - ansible
- 13 useradd ansible
- 14 passwd ansible
- 15 su - ansible
- 16 exit
- 17 history
- USER HISTORY
- 1 git clone https://github.com/sandervanvugt/ansible-3h
- 2 cd ansible-3h/
- 3 ls
- 4 history
- 5 su -
- 6 ssh-keygen
- 7 ssh-copy-id ansible1
- 8 ssh-copy-id ansible2
- 9 ssh ansible1
- 10 ssh ansible2
- 11 pwd
- 12 ls
- 13 cd install/
- 14 ls
- 15 cat /etc/hosts
- 16 ls
- 17 pwd
- 18 vim inventory
- 19 vim ansible.cfg
- 20 ansible all -i inventory --list-hosts
- 21 ansible -m command -a "useradd bob"
- 22 ansible all -m command -a "useradd bob"
- 23 vim ansible.cfg
- 24 ansible --help
- 25 exit
- 26 history
- 27 ssh root@ansible1
- 28 ansible all -m command -a "useradd bob"
- 29 pwd
- 30 cd ansible-3h/install/
- 31 ansible all -m command -a "useradd bob"
- 32 vim ansible
- 33 ansible all -m raw -a "echo ansible ALL=(ALL) NOPASSWD:ALL > /etc/sudoers.d/ansible" -u root -k
- 34 ansible all -m raw -a 'echo ansible ALL=\(ALL\) NOPASSWD:ALL > /etc/sudoers.d/ansible' -u root -k
- 35 history
- 36 ansible all -m command -a "useradd bob"
- 37 history
- 38 cd ..
- 39 git clone https://github.com/sandervanvugt/luth
- 40 cd luth/
- 41 ./countdown 12
- 42 ansible ansible1.example.com -m command -a who
- 43 sudo vim /etc/ansible/hosts
- 44 su -
- 45 exit
- 46 id
- 47 sudo vim /etc/ansible/hosts
- 48 sudo vim /etc/ansible/ansible.cfg
- 49 cd ansible-3h/
- 50 cd install/
- 51 ansible ansible1.example.com -m command -a who
- 52 ansible ansible1.example.com -m shell -a who
- 53 ansible ansible1.example.com -m raw -a who
- 54 ansible ansible1.example.com -m command -a "rpm -qa | grep completion"
- 55 ansible ansible1.example.com -m shell -a "rpm -qa | grep completion"
- 56 ansible-doc -l | less
- 57 ansible-doc -l | wc
- 58 ansible -m command -a "useradd lisa"
- 59 ansible all -m command -a "useradd lisa"
- 60 ansible all -m user -a "name=lisa"
- 61 ansible all -m user -a "name=linda"
- 62 history
- 63 ansible-doc user
- 64 ansible all -m user -a "name=linda state=absent remove=yes"
- 65 vim vsftpd.yml
- 66 ansible-playbook vsftpd.yml
- 67 vim vsftpd.yml
- 68 ansible-playbook vsftpd.yml
- 69 vim vsftpd.yml
- 70 ansible-playbook vsftpd.yml
- 71 cd ..
- 72 ls
- 73 cd base
- 74 ls
- 75 cd ../ftp/
- 76 ls
- 77 cd ../install/
- 78 ls
- 79 vim makeuser.yml
- 80 ansible-playbook makeuser.yml
- 81 vim makeuser.yml
- 82 ansible-playbook makeuser.yml
- 83 history
- 84 ansible all -m user -a "name=linda state=absent remove=yes"
- 85 ansible-playbook makeuser.yml
- 86 vim makeuser.yml
- 87 vim ~/.vimrc
- 88 history
Add Comment
Please, Sign In to add comment