Aggiornamento script x gestione UpdateUpgradeReboot + prima modifica users

This commit is contained in:
Samuele-StackUser
2022-09-02 10:25:56 +02:00
parent 9e9a63ea1a
commit f6eb35298a
3 changed files with 38 additions and 14 deletions
+8
View File
@@ -0,0 +1,8 @@
update_pkg:
pkg.uptodate:
- refresh: True
system.reboot:
module.run:
- watch:
- pkg: update_pkg
+22 -14
View File
@@ -1,21 +1,21 @@
marco:
user.present:
- fullname: Marco Salvi
- shell: /bin/bash
- home: /home/marco
- password: '$1$kK4.Rz43$Xfb1BOv5gEy.rU9Q2ZCVm1'
- groups:
- sudo
ssh_auth.present:
- user: marco
- source: salt://ssh-keys/marco.id_rsa.pub
- config: '%h/.ssh/authorized_keys'
#marco:
# user.present:
# - fullname: Marco Salvi
# - shell: /bin/bash
# - home: /home/marco
# - password: '$1$kK4.Rz43$Xfb1BOv5gEy.rU9Q2ZCVm1'
# - groups:
# - sudo
# ssh_auth.present:
# - user: marco
# - source: salt://ssh-keys/marco.id_rsa.pub
# - config: '%h/.ssh/authorized_keys'
samuele:
user.present:
- fullname: Samuele Locatelli
- fullname: Samuele E. Locatelli
- shell: /bin/bash
- home: /home/samuele
- password: '$1$kK4.Rz43$Xfb1BOv5gEy.rU9Q2ZCVm1'
- password: '$6$hNHeYKbo$NtBrKFzScGJEHUbVosleik/vruKx8DFDWqstBBr.m7uuiTqW9HDXabTi954uDaDzQJWGB4ced1d6r5ieMz6SC.'
- groups:
- sudo
ssh_auth.present:
@@ -23,5 +23,13 @@ samuele:
- source: salt://ssh-keys/sam.id_ed25519.pub
- config: '%h/.ssh/authorized_keys'
steamware:
user.present:
- fullname: Steamware Admin User
- shell: /bin/bash
- home: /home/steamware
- password: '$6$c31aH6dTMDuQ/lGO$ybu3eX4kDjE4wVFr6h8OWiBIp05DZ54DhwD.nPdGBvDDGGAaVhvogPJSRFbHopGV.yrCtXDDibTLDrFTHDME..'
- groups:
- sudo
+8
View File
@@ -26,6 +26,14 @@ nnn:
pkg:
- installed
ncdu:
pkg:
- installed
dos2unix:
pkg:
- installed
mc:
pkg:
- installed