-
Notifications
You must be signed in to change notification settings - Fork 687
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Supports SSH-over-LAN in v2->v3 Onion migration
The dynamic logic to accommodate for SSH-over-LAN includes the "restrict-direct-access" role, which assumes that Onion Services already exist on the remote host. That's not the case when migrating from v2 to v3 Onion services, so let's override the dynamic include logic to instruct the role *not* to wait for the hostname files to be created. Later in the playbook, the restrict-direct-access role will run without the override, fetching back the client auth config that now exists, since the tor role will also have run by this point.
- Loading branch information
Conor Schaefer
committed
Aug 21, 2019
1 parent
2ab423c
commit 3d86cd2
Showing
3 changed files
with
9 additions
and
0 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
1 change: 1 addition & 0 deletions
1
install_files/ansible-base/roles/restrict-direct-access/tasks/main.yml
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,5 +1,6 @@ | ||
--- | ||
- include: fetch_tor_config.yml | ||
when: fetch_tor_client_auth_configs | ||
|
||
- include: dh_moduli.yml | ||
|
||
|
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