Search - Login
ui-buttonPrepare BIOS for Ubuntu installationReboot the computer while clicking on F2.In the BIOS, change the following settings:Security -> Secure Boot -> DisabledTo start from a USB key, insert the key and when the computer starts click on F12.
Reboot the computer while clicking on F2.
In the BIOS, change the following settings:
Security -> Secure Boot -> Disabled
To start from a USB key, insert the key and when the computer starts click on F12.
ui-buttonAnsible installationGet the source codegit config --global user.email "guenmat@gmail.com"git config --global user.name "Matthieu Guenebaud"git clone ssh://mguenebaud@www.guenmat.com/home/git/repositories/ansiblegit checkout focalPrepare connexion to the master servercd ansiblecp ./playbook/roles/basics/files/ssh/id_rsa /home/guenmat/.ssh/cp ./playbook/roles/basics/files/ssh/id_rsa.pub /home/guenmat/.ssh/sudo chmod 0700 /home/guenmat/.ssh/sudo chmod 0600 /home/guenmat/.ssh/id_rsasudo chmod 0700 /home/guenmat/.ssh/id_rsa.pubssh-copy-id guenmat@www.guenmat.comssh www.guenmat.comInstall ansible:sudo apt-get install software-properties-commonsudo apt-add-repository ppa:ansible/ansiblesudo apt-get update && sudo apt-get install ansible sshpasssudo vi /etc/ansible/ansible.cfgThen replace:scp_if_ssh = Truelibrary = /etc/ansible/modulesssh_args = -o ForwardAgent=yeslog_path = /home/guenmat/Bureau/ansible.logAdd the following modules:sudo mkdir /etc/ansible/modulescd /etc/ansible/modules && sudo wget https://raw.githubusercontent.com/jistr/ansible-gsetting/master/gsetting.py && sudo mv gsetting.py gsettingcd /etc/ansible/modules && sudo wget https://raw.github.com/jistr/ansible-dconf/master/dconf.py && sudo mv dconf.py dconfThen launch the script and enjoy:cd ansible/playbookansible-playbook magicbook.yml -i ./inventories/magicbook.inventory -v --user=guenmat --ask-pass --ask-become-pass --become
Get the source code
git config --global user.email "guenmat@gmail.com"git config --global user.name "Matthieu Guenebaud"git clone ssh://mguenebaud@www.guenmat.com/home/git/repositories/ansiblegit checkout focal
Prepare connexion to the master server
cd ansiblecp ./playbook/roles/basics/files/ssh/id_rsa /home/guenmat/.ssh/cp ./playbook/roles/basics/files/ssh/id_rsa.pub /home/guenmat/.ssh/sudo chmod 0700 /home/guenmat/.ssh/sudo chmod 0600 /home/guenmat/.ssh/id_rsasudo chmod 0700 /home/guenmat/.ssh/id_rsa.pubssh-copy-id guenmat@www.guenmat.comssh www.guenmat.com
Install ansible:
sudo apt-get install software-properties-commonsudo apt-add-repository ppa:ansible/ansiblesudo apt-get update && sudo apt-get install ansible sshpasssudo vi /etc/ansible/ansible.cfg
Then replace:
scp_if_ssh = Truelibrary = /etc/ansible/modulesssh_args = -o ForwardAgent=yeslog_path = /home/guenmat/Bureau/ansible.log
Add the following modules:
sudo mkdir /etc/ansible/modulescd /etc/ansible/modules && sudo wget https://raw.githubusercontent.com/jistr/ansible-gsetting/master/gsetting.py && sudo mv gsetting.py gsettingcd /etc/ansible/modules && sudo wget https://raw.github.com/jistr/ansible-dconf/master/dconf.py && sudo mv dconf.py dconf
Then launch the script and enjoy:
cd ansible/playbookansible-playbook magicbook.yml -i ./inventories/magicbook.inventory -v --user=guenmat --ask-pass --ask-become-pass --become