From 392aba4da08cba63910c3c4958d6f95aa1b64b67 Mon Sep 17 00:00:00 2001 From: LAFORET Kyllian Date: Wed, 24 Nov 2021 09:37:47 +0100 Subject: [PATCH] =?UTF-8?q?=09nouveau=20fichier=C2=A0:=20ct-ansible/.bash?= =?UTF-8?q?=5Fhistory=20=09modifi=C3=A9=C2=A0:=20=20=20=20=20=20=20=20=20c?= =?UTF-8?q?t-ansible/playbook.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sio2/sisr/ct-ansible/.bash_history | 42 ++++++++++++++++++++++++++++++ sio2/sisr/ct-ansible/playbook.yml | 1 + 2 files changed, 43 insertions(+) create mode 100644 sio2/sisr/ct-ansible/.bash_history diff --git a/sio2/sisr/ct-ansible/.bash_history b/sio2/sisr/ct-ansible/.bash_history new file mode 100644 index 0000000..046f6ef --- /dev/null +++ b/sio2/sisr/ct-ansible/.bash_history @@ -0,0 +1,42 @@ +apt install vim curl mc sudo +apt autoclean +apt autoremove +poweroff +ip a +ip l +ip n +ip r +poweroff +apt update +apt upgrade +poweroff +apt install -y git-core +poweroff +apt update +apt upgrade -y +poweroff +nano .bashrc +vi /etc/hosts +nano .bashrc +poweroff +echo "PermitRootLogin yes" > /etc/ssh/sshd_config +sed -i 's/bullseye/ansible/g' /etc/host +sed -i 's/bullseye/ansible/g' /etc/host{s,name} +sed -i 's/bullseye/ansible/g' /etc/host{s,name}; reboot +apt update +apt upgrade +apt install ansible +apt install ansible +ip a +reboot +ip a +apt install ansible +ip a +vim /etc/network/interfaces +reboot +poweroff +ssh-keygen +vim ~/.ssh/config +clear +exit +exit diff --git a/sio2/sisr/ct-ansible/playbook.yml b/sio2/sisr/ct-ansible/playbook.yml index 22319e7..59acf70 100644 --- a/sio2/sisr/ct-ansible/playbook.yml +++ b/sio2/sisr/ct-ansible/playbook.yml @@ -12,6 +12,7 @@ append : yes password: "{{ 'sioadm' | password_hash('sha512') }}" password_lock: yes + msg : 'adm' - name: delete rpcbind apt :