-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from eliba/remote-improvements
Remote improvements
- Loading branch information
Showing
16 changed files
with
186 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{#- Dots are not allowed in .htpasswd usernames, so we replace them with '_'. | ||
Also see 'tasks/add_rest_user.yml' in 'restic_server' role and | ||
https://httpd.apache.org/docs/2.4/programs/htpasswd.html#restrictions. #} | ||
{% set _rest_username = inventory_hostname | regex_replace('\\.', '_') %} | ||
|
||
{#- Note that REST passwords cannot contain special characters in order to not | ||
get confused with field delimiters in the 'repository' string. #} | ||
{% set _rest_password = our_rest_password %} | ||
|
||
{% set _backup_server = groups['backupservers'][0] %} | ||
{% set _backup_server_port = restic_remote_client_port | default(restic_server_listen_port) -%} | ||
|
||
rest:http://{{ _rest_username }}:{{ _rest_password }}@{{ _backup_server }}:{{ _backup_server_port }}/{{ _rest_username }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
ansible | ||
ansible-lint | ||
yamllint | ||
molecule | ||
molecule-plugins[podman]==23.5.0 # fixes https://github.com/ansible-community/molecule-plugins/issues/242 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.