Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 sudo vim /etc/ansible/hosts
- 2 sudo dnf install -y vim git
- 3 git clone https://github.com/sandervanvugt/ansibleinthreeweeks
- 4 cd ansibleinthreeweeks/
- 5 ls
- 6 cd cisco/
- 7 ls
- 8 cat inventory
- 9 cd ../windows/
- 10 cat inventory
- 11 ansible --version
- 12 cd
- 13 ansible --version
- 14 vim /etc/ansible/ansible.cfg
- 15 cd -
- 16 ansible --version
- 17 ansible-doc -l
- 18 ansible-doc -l | wc
- 19 cd..
- 20 cd ..
- 21 cd
- 22 ansible all -m ping
- 23 ssh-keygen
- 24 ssh-copy-id rocky
- 25 ssh-copy-id fedora
- 26 ssh-copy-id ubuntu
- 27 ssh-copy-id centos7
- 28 ssh-copy-id rhel8
- 29 ansible all -m ping
- 30 cat inventory
- 31 ansible rhelfamily -m command -a "useradd lisa"
- 32 ansible rhelfamily -m user -a "name=linda"
- 33 history
- 34 cat ansible.cfg
- 35 ansible ubuntu -K -m package -a "name=nmap"
- 36 cat /etc/hosts
- 37 ansible ubuntu -K -m package -a "name=nmap"
- 38 ssh-copy-id ubuntu
- 39 ansible ubuntu -K -m package -a "name=nmap"
- 40 history
- 41 git clone https://github.com/sandervanvugt/ansible-3h
- 42 cd ansible-3h/
- 43 ls
- 44 cd install/
- 45 ls
- 46 cd ../..
- 47 find . -name "install_and*"
- 48 cd ansible-3h/
- 49 cd install/
- 50 vim vsftpd.yml
- 51 ansible-playbook vsftpd.yml
- 52 ls
- 53 cat inventory
- 54 ansible-playbook -i ../../ansibleinthreeweeks/inventory vsftpd.yml
- 55 cp ../../ansibleinthreeweeks/inventory .
- 56 vim inventory
- 57 ansible-playbook vsftpd.yml
- 58 vim inventory
- 59 ansible-playbook vsftpd.yml
- 60 vim vsftpd.yml
- 61 ansible-playbook vsftpd.yml
- 62 cat vsftpd.yml
- 63 ansible-doc yum
- 64 ansible-doc copy
- 65 vim vsftpd.yml
- 66 ansible-playbook --syntax-check vsftpd.yml
- 67 ansible-playbook vsftpd.yml
- 68 ansible-playbook --syntax-check vsftpd.yml
- 69 vim vsftpd.yml
- 70 ansible-playbook --syntax-check vsftpd.yml -v
- 71 ansible-playbook --syntax-check vsftpd.yml -vv
- 72 ansible-playbook --syntax-check vsftpd.yml -vvv
- 73 ansible-playbook vsftpd.yml -vvv
- 74 ansible-playbook vsftpd.yml -vvvv
- 75 ansible-doc user
- 76 ansible-doc yum
- 77 ansible-doc -l | grep ufw
- 78 ansible-doc -l | grep firewall
- 79 ansible-doc ufw
- 80 cd ../..
- 81 find . -name "run_and_test_httpd.yaml"
- 82 ls
- 83 git clone https://github.com/sandervanvugt/ansible-advanced
- 84 find . -name "run_and_test_httpd.yaml"
- 85 cd ansible-3h/
- 86 cd base
- 87 ls
- 88 vim installpackage.yaml
- 89 ip a
- 90 cd..
- 91 cd ..
- 92 ;s
- 93 ls
- 94 cd ansible-3h/
- 95 cd base/
- 96 ls
- 97 vim variables.yml
- 98 vim installpackage.yaml
- 99 ansible-playbook installpackage.yaml
- 100 vim inventory
- 101 ansible-playbook installpackage.yaml
- 102 vim inventory
- 103 cat installpackage.yaml
- 104 ansible-playbook --help | less
- 105 ansible-playbook installpackage.yaml -e package=nmap
- 106 ls
- 107 vim variables.yml
- 108 ansible-playbook variables.yml
- 109 vim variables.yml
- 110 ansible centos7 -m setup | less
- 111 ls
- 112 head installpackage.yaml
- 113 head variables.yml
- 114 ansible-doc -l | grep facts
- 115 ansible-doc -l | grep facts | wc
- 116 ls
- 117 vim thefacts.yaml
- 118 ansible-playbook thefacts.yaml
- 119 vim thefacts.yaml
- 120 ansible-playbook thefacts.yaml
- 121 ls
- 122 vim when-test.yml
- 123 ansible-playbook when-test.yml
- 124 vim when-test.yml
- 125 vim inventory
- 126 vim when-test.yml
- 127 ansible-playbook when-test.yml
- 128 vim when-test.yml
- 129 ansible-playbook when-test.yml
- 130 history
- 131 cd
- 132 vim paster
- 133 vim .bashrc
- 134 history -d 135
- 135 history -d 137
- 136 history -d 138
- 137 ls
- 138 chmod +x paster
- 139 history
- 140 history -d 134
- 141 history -d 135
- 142 history -d 140-
- 143 history -d 140-144
- 144 history -d 140
- 145* hist
- 146 history -d 134
- 147 history
- 148 history -d 138
- 149 history -d 137
- 150 history
- 151 chmod +x paster
- 152 ./paster
- 153 vim .bashrc
- 154 source .bashrc
- 155 ./paster
- 156 ./paster test
- 157 vim paster
- 158 ./paster "my-title" "$(history)"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement