Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Environmental Cheminformatics
plan-b
Commits
29511525
Unverified
Commit
29511525
authored
Feb 27, 2021
by
Todor Kondic
Browse files
Add spaces
parent
f04e2917
Changes
5
Hide whitespace changes
Inline
Side-by-side
ansibleit
0 → 100755
View file @
29511525
#!/bin/sh
ansible-playbook
-i
hosts.txt main.yml
\
--vault-password-file
meta/zubizareta
\
-u
root
--skip-tags
guix
-t
$1
main.yml
View file @
29511525
...
...
@@ -25,6 +25,8 @@
-
include
:
tasks/apt.yml
-
include
:
tasks/users.yml
-
include
:
tasks/ufw.yml
-
include
:
tasks/spaces.yml
tags
:
spaces
-
include
:
tasks/guix.yml
tags
:
guix
-
include
:
tasks/visual-appeal.yml
...
...
@@ -33,6 +35,7 @@
tags
:
emacs
handlers
:
-
name
:
Restart xinetd.
command
:
systemctl restart xinetd
...
...
tasks/apt.yml
View file @
29511525
...
...
@@ -14,7 +14,8 @@
'
gdm3'
,
'
xinetd'
,
'
firefox'
,
'
chromium-browser'
]
'
chromium-browser'
,
'
s3fs'
]
tags
:
apt
...
...
tasks/spaces.yml
0 → 100644
View file @
29511525
-
name
:
Upload the access token
copy
:
content
:
"
{{
accesstokens['spaces']
}}"
dest
:
/home/ecitk/.passwd-s3fs
mode
:
0600
owner
:
ecitk
-
name
:
Make the mount point.
file
:
path
:
/mnt/exchange
state
:
directory
owner
:
ecitk
group
:
scratch
mode
:
0770
-
name
:
Mount Spaces URL.
command
:
>
s3fs planb /mnt/exchange
-o passwd_file=/home/ecitk/.passwd-s3fs
-o url=https://ams3.digitaloceanspaces.com/
-o use_path_request_style
-o use_wtf8
-o enable_content_md5
-o allow_other
-o mp_umask=0007
-o umask=0007
become_user
:
ecitk
vars/passwords.yml
View file @
29511525
$ANSIBLE_VAULT;1.1;AES256
64386164623735383434343330326637343837653966623066343061626364323139636334346136
3537663335626461623833333234623134306632623461360a313462656433346537636365393162
34646334623631626262616666663364616537653561313337313965373337396163666231616638
3762383834343832350a643164306564303564663033386637323864333866303538356532303963
35323138616336323632643238303864333535333564346133633539663363303330653233323865
63613332633564303461656234663336623364346532313631366234653535383664646533333265
656236343134316264376165323235333838
30333733393662313736616332346333653462356333393834303232643034383337333963643837
6534343731313033663436353232616134333839383562370a623030303534656463363630383562
30313237333531323561376631376330613730336262643562393533393761396330343064313132
3263393730336531640a383135306261663738636666626562623161393133386163313836663664
66353630386636383333613062316633383536386363613230383564383362346361653034333830
66336137326430653463343362666565323661353434353735336461363230303664306463656638
36383963393434363835333133363234303934313539396435333664343165343135623731313630
32626331636337663539663935643833383133666638663264303138303930383232336163303830
37643864363931636333323266663836363164643031333564326163653034643264303636386662
63353337336461636638623139373336353136343231383830336234396436313538623533353339
31336465653932343531326563643164333837633066326161306662363333663462333766353430
62353431366263336362
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment