-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmain.yml
36 lines (27 loc) · 1.5 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
ansible_user: "{{ inventory_hostname_short }}"
uberspace_loginname: "{{ ansible_user }}"
uberspace_credentialstore_location: "credentials/"
uberspace_credential_destination: "{{ uberspace_credentialstore_location }}uberspace/{{ uberspace_loginname }}/"
uberspace_sessionfile: "{{ uberspace_credential_destination }}session"
uberspace_passwordfetch_destination: "{{ uberspace_credential_destination }}loginpassword"
uberspace_newloginpassword: "{{ lookup('password', uberspace_passwordfetch_destination) }}"
uberspace_loginpassword: "{{ lookup('file', uberspace_passwordfetch_destination) }}"
uberspace_price_goal: 10.0
uberspace_price_crossfinanced_request: false
uberspace_price_current:
uberspace_loginkey_path: "~/.ssh/id_uberspace_{{ uberspace_loginname }}"
uberspace_loginkey: "{{ lookup('file', uberspace_loginkey_path + '.pub', errors='ignore') }}"
ansible_ssh_private_key_file: "{{ uberspace_loginkey_path }}"
uberspace_mycnffetch_destination: "{{ uberspace_credential_destination }}mycnf"
uberspace_action_delete: false
uberspace_action_setup: false
uberspace_session: "{{ lookup('file', uberspace_sessionfile, errors='ignore') }}"
uberspace_spacedir: "{{ '/home/' + uberspace_loginname }}"
uberspace_webroot: "{{ '/var/www/virtual/' + uberspace_loginname + '/html'}}"
inwx_pw: "{{ lookup('file', uberspace_credentialstore_location + 'inwx/' + inwx_user + '-pw') }}"
inwx_ttl: 3600
inwx_records_srv: {}
inwx_records_srv_protocol: "tcp"
uberspace_shellaliases_block: |
alias s="screen -rxU || screen"
alias l='ls -lah'