Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ansible@control loops]$ history
- 1 ls
- 2 vim inventory
- 3 ansible all -i inventory --list-hosts
- 4 ls
- 5 vim ansible.cfg
- 6 history
- 7 cd ..
- 8 ls
- 9 cd ..
- 10 git clone https://github.com/sandervanvugt/ansible-advanced
- 11 cd ansible-
- 12 cd ansible-advanced/
- 13 ls
- 14 ./countdown 12
- 15 cd ..
- 16 ls
- 17 cd ansible-3h/
- 18 cd install/
- 19 ls
- 20 history
- 21 ansible ansible1.example.com -m command -a who
- 22 vim inventory
- 23 sudo vim /etc/hosts
- 24 cd
- 25 cd -
- 26 vim ansible.cfg
- 27 ssh-copy-id
- 28 ssh-keygen
- 29 ssh-copy-id ansible1.example.com
- 30 ssh-copy-id ansible2.example.com
- 31 ssh ansible1.example.com
- 32 history
- 33 ansible ansible1.example.com -m command -a who
- 34 vim ansible.cfg
- 35 ssh ansible1.example.com
- 36 ssh ansible2.example.com
- 37 history
- 38 ansible ansible1.example.com -m command -a who
- 39 vim user.todo
- 40 sudo vim /etc/ansible/ansible.cfg
- 41* cd ..A
- 42 ansible ansible1.example.com -m command -a who
- 43 ls
- 44 cd install/
- 45 vim ansible.cfg
- 46 ls
- 47 ansible-doc -l
- 48 ansible-doc -l | wc
- 49 ansible-doc command
- 50 ansible-doc user
- 51 ansible all -m command -a "useradd linda"
- 52 ansible all -m user -a "name=linda"
- 53 vim inventory
- 54 ansible-doc user
- 55 sudo rpm -qf /usr/lib/python3.6/site-packages/ansible/modules/system/user.py
- 56 ansible all -m command -a "rpm -qa| grep ansible"
- 57 ansible all -m command -a "rpm -ql | grep ansible"
- 58 sudo rpm -qa
- 59 sudo rpm -qa | grep ansible
- 60 ansible all -m command -a "rpm -qa | grep ansible"
- 61*
- 62 ansible all -m command -a "rpm -qa | grep bash"
- 63 ansible all -m shell -a "rpm -qa | grep bash"
- 64 history
- 65 echo hello > myfile
- 66 md5sum myfile
- 67 echo helllloo >>> myfile
- 68 echo helllloo >> myfile
- 69 md5sum myfile
- 70 ls
- 71 vim vsftpd.yml
- 72 ansible-playbook vsftpd.yml
- 73 vim vsftpd.yml
- 74 vim inventory
- 75 vim vsftpd.yml
- 76 ansible-playbook vsftpd.yml
- 77 vim vsftpd.yml
- 78 ansible all -m setup > ../inventort.txt
- 79 less ../inventort.txt
- 80 ansible-doc user
- 81 vim createuser.yaml
- 82 ansible-playbook createuser.yaml
- 83 vim createuser.yaml
- 84 ansible-playbook createuser.yaml
- 85 vim createuser.yaml
- 86 ansible-playbook createuser.yaml
- 87 ansible all -m command -a "id bob"
- 88 ansible-playbook createuser.yaml -e user=james
- 89 vim createuser.yaml
- 90 ansible-doc user
- 91 vim ~/.vimrc
- 92 cd ..
- 93 ls
- 94 cd base
- 95 ls
- 96 cat variables
- 97 cat variables.yml
- 98 vim variables.yml
- 99 ansible-playbook variables.yml
- 100 ls
- 101 vim when-test.yml
- 102 ansible-playbook when-test.yml
- 103 cat inventory
- 104 cd ..
- 105 less inventort.txt
- 106 cd base
- 107 grep default *
- 108 vim checkip.yaml
- 109 ansible-playbook checkip.yaml
- 110 vim checkip.yaml
- 111 ansible-playbook checkip.yaml
- 112 vim checkip.yaml
- 113 ls
- 114 vim un-ansible.yml
- 115 vim un-ansible-loop.yml
- 116 ansible-playbook un-ansible-loop.yml
- 117 ls
- 118 cd host_vars/
- 119 ls
- 120 cat ansible1.example.com
- 121 cd ..
- 122 grep package *
- 123 vim installpackage.yaml
- 124 grep register *
- 125 cd ..
- 126 ls
- 127 cd handlers/
- 128 cd ..
- 129 grep -R register *
- 130 cd loops/
- 131 ls
- 132 vim registerout.yml
- 133 vim conditionalrestart.yml
- 134 ansible-playbook conditionalrestart.yml
- 135 grep register *
- 136 vim copytxt.yml
- 137 ansible-playbook copytxt.yml
- 138 vim copytxt.yml
- 139 ansible-playbook copytxt.yml
- 140 sudo visudo
- 141 ansible-playbook copytxt.yml
- 142 grep register *
- 143 ls
- 144 rm errorlog
- 145 grep register *
- 146 vim copytxt.yml
- 147 grep register *
- 148 vim registerout.yml
- 149 ls
- 150 vim handlers
- 151 vim handlers.yml
- 152 touch /tmp/index.html
- 153 ansible-playbook handlers.yml
- 154 vim handlers.yml
- 155 ansible-playbook handlers.yml
- 156 vim handlers.yml
- 157 ansible all -m file -a "name=/var/www/html/index.html state=absent"
- 158 ansible-playbook handlers.yml
- 159 history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement