complete variable for autofs
This commit is contained in:
parent
7cb41fa105
commit
bce7456502
10
README.md
10
README.md
@ -3,7 +3,7 @@
|
|||||||
## commande ansible
|
## commande ansible
|
||||||
|
|
||||||
***launch playbook on staging***
|
***launch playbook on staging***
|
||||||
`ansible-playbook -i staging site.yml --ask-become-pass`
|
`ansible-playbook -i staging site.yml --ask-become-pass --ask-vault-pass`
|
||||||
|
|
||||||
***init new role architecture***
|
***init new role architecture***
|
||||||
`ansible-galaxy user_config init `
|
`ansible-galaxy user_config init `
|
||||||
@ -35,11 +35,13 @@
|
|||||||
- create user
|
- create user
|
||||||
- copy clé RSA
|
- copy clé RSA
|
||||||
|
|
||||||
- [ ] samba automount role
|
- [X] samba automount role
|
||||||
- géré les credential en fichier
|
- géré les credential en fichier
|
||||||
- initialisé les variable pour les diferent périphérique
|
- initialisé les variable pour les diferent périphérique
|
||||||
|
|
||||||
- [ ] davfs mount
|
- [X] davfs mount
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- [ ] VM server
|
- [ ] VM server
|
||||||
|
|
||||||
@ -53,6 +55,8 @@
|
|||||||
- clone ansible repo
|
- clone ansible repo
|
||||||
|
|
||||||
- [ ] workstation role
|
- [ ] workstation role
|
||||||
|
- cups
|
||||||
|
- bluetooth et tlp pour laptop
|
||||||
- install wm software
|
- install wm software
|
||||||
- install worstation software (firefox keepass,pulseaudio,ncmpcc)
|
- install worstation software (firefox keepass,pulseaudio,ncmpcc)
|
||||||
|
|
||||||
|
@ -4,20 +4,84 @@ systemd_mounts:
|
|||||||
mount: /mnt/diskstation/media
|
mount: /mnt/diskstation/media
|
||||||
type: cifs
|
type: cifs
|
||||||
options:
|
options:
|
||||||
- user=admin
|
- credentials=/etc/creds/.diskstation_credentials
|
||||||
- password=
|
|
||||||
- uid=1024
|
- uid=1024
|
||||||
|
- gid=100
|
||||||
automount: true
|
automount: true
|
||||||
diskstation_music:
|
diskstation_music:
|
||||||
share: //diskstation/music
|
share: //diskstation/music
|
||||||
mount: /mnt/diskstation/music
|
mount: /mnt/diskstation/music
|
||||||
type: cifs
|
type: cifs
|
||||||
options:
|
options:
|
||||||
- user=admin
|
- credentials=/etc/creds/.diskstation_credentials
|
||||||
- password=XiEhusW6
|
|
||||||
- uid=1024
|
- uid=1024
|
||||||
|
- gid=100
|
||||||
automount: true
|
automount: true
|
||||||
|
diskstation_home:
|
||||||
|
share: //diskstation/homes/admin
|
||||||
|
mount: /mnt/diskstation/home
|
||||||
|
type: cifs
|
||||||
|
options:
|
||||||
|
- credentials=/etc/creds/.diskstation_credentials
|
||||||
|
- uid=1024
|
||||||
|
- gid=100
|
||||||
|
automount: true
|
||||||
|
diskstation_photo:
|
||||||
|
share: //diskstation/photo
|
||||||
|
mount: /mnt/diskstation/photo
|
||||||
|
type: cifs
|
||||||
|
options:
|
||||||
|
- credentials=/etc/creds/.diskstation_credentials
|
||||||
|
- uid=1024
|
||||||
|
- gid=100
|
||||||
|
automount: true
|
||||||
|
diskstation_ebook:
|
||||||
|
share: //diskstation/ebook
|
||||||
|
mount: /mnt/diskstation/ebook
|
||||||
|
type: cifs
|
||||||
|
options:
|
||||||
|
- credentials=/etc/creds/.diskstation_credentials
|
||||||
|
- uid=1024
|
||||||
|
- gid=100
|
||||||
|
automount: true
|
||||||
|
davfs_share:
|
||||||
|
share: https://diskstation.ducamps.win:5006/home/keepass
|
||||||
|
mount: /mnt/diskstation/keepass
|
||||||
|
type: davfs
|
||||||
|
options:
|
||||||
|
- uid=1024
|
||||||
|
automount: true
|
||||||
|
|
||||||
|
|
||||||
systemd_mounts_enabled:
|
systemd_mounts_enabled:
|
||||||
- diskstation_media
|
- diskstation_media
|
||||||
- diskstation_music
|
- diskstation_music
|
||||||
|
- diskstation_ebook
|
||||||
|
- davfs_share
|
||||||
|
- diskstation_photo
|
||||||
|
- diskstation_home
|
||||||
|
|
||||||
|
credentials_files:
|
||||||
|
1:
|
||||||
|
type: smb
|
||||||
|
path: /etc/creds/.diskstation_credentials
|
||||||
|
username: admin
|
||||||
|
password: !vault |
|
||||||
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
|
30633733333935656635616232623338613638616139303366313330366562323830613032383366
|
||||||
|
3735306661306437626361653035326462633330643362300a366432393730653561363431313930
|
||||||
|
64613130396636656461346164643033353735313363336638663331393532626132633233373330
|
||||||
|
6332616435643530320a636366323634363363636566363665393064376138653666623563326330
|
||||||
|
3536
|
||||||
|
2:
|
||||||
|
type: davfs
|
||||||
|
path: /etc/davfs2/secrets
|
||||||
|
adress: https://diskstation.ducamps.win:5006/home/keepass
|
||||||
|
username: admin
|
||||||
|
password: !vault |
|
||||||
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
|
30633733333935656635616232623338613638616139303366313330366562323830613032383366
|
||||||
|
3735306661306437626361653035326462633330643362300a366432393730653561363431313930
|
||||||
|
64613130396636656461346164643033353735313363336638663331393532626132633233373330
|
||||||
|
6332616435643530320a636366323634363363636566363665393064376138653666623563326330
|
||||||
|
3536
|
||||||
|
Loading…
Reference in New Issue
Block a user