This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Installation on Linux Ubuntu: | |
install docker with those commands: | |
- sudo apt-get update | |
- sudo apt-get upgrade | |
- sudo apt install docker.io | |
- systemctl start docker | |
- systemctl enable docker | |
- docker --version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
msg Using a SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this | |
You are getting this error because when we do SSH in the remote system it will ask yes or no. | |
But Ansible doesn't have the capability to ask this in run time. | |
So you need to disable host_key_checking in your ansible.conf file as shown below: | |
sudo nano /etc/ansible/ansible.cfg | |
[defaults] | |
inventory = /etc/ansible/hosts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash: ./{file}: Premission denied SOLVED! | |
1.insert command: chmod +x {name of the file to run} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Forgot password in linux. VirtualBox. SOLVED! | |
1. restart. | |
2. press left shift | |
3. chose second option + Enter | |
4. chose second option again + Enter | |
5. choose root | |
6. Enter | |
7. input: | |
mount -rw -o remount / |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install unity-lens-applications | |
sudo apt install unity-lens-music | |
sudo apt install unity-lens-video | |
sudo apt install unity-lens-files | |
sudo apt install unity-lens-photos |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create external var outside .yml file. Ansibel | |
1.create dir "ansibleExternVar" | |
sudo mkdir /etc/ansible/roles/ansibleExternVar | |
2. enter dir | |
cd /etc/ansible/roles/ansibleExternVar | |
2. Create 2 file | |
sudo nano hello_ansble_varsV4.yml | |
sudo nano varsV4 |