Aggiornamento script x gestione UpdateUpgradeReboot + prima modifica users
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
update_pkg:
|
||||
pkg.uptodate:
|
||||
- refresh: True
|
||||
|
||||
system.reboot:
|
||||
module.run:
|
||||
- watch:
|
||||
- pkg: update_pkg
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user