Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
commonconnect
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
commonconnect
Commits
39127979
Commit
39127979
authored
5 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-playbooks/general#85 Linting [skip-ci]
parent
6150e8b9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
defaults/main.yml
+2
-0
2 additions, 0 deletions
defaults/main.yml
tasks/main.yml
+42
-42
42 additions, 42 deletions
tasks/main.yml
with
44 additions
and
42 deletions
defaults/main.yml
+
2
−
0
View file @
39127979
---
tunnel_user_name
:
systunnel
tunnel_user_name
:
systunnel
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
42
−
42
View file @
39127979
...
@@ -3,54 +3,54 @@
...
@@ -3,54 +3,54 @@
-
name
:
Common Connect Role
-
name
:
Common Connect Role
set_fact
:
set_fact
:
role_commonconnect_started
:
true
role_commonconnect_started
:
yes
tags
:
tags
:
-
always
-
always
-
block
:
-
block
:
-
name
:
Create The /etc/hosts File
-
name
:
Create The /etc/hosts File
template
:
template
:
src
:
etc_hosts.jinja2
src
:
etc_hosts.jinja2
dest
:
/etc/hosts
dest
:
/etc/hosts
owner
:
root
owner
:
root
group
:
root
group
:
root
mode
:
0644
mode
:
0644
-
name
:
Copy SSH Config For Server-To-Server Communication For Admins
-
name
:
Copy SSH Config For Server-To-Server Communication For Admins
template
:
template
:
src
:
ssh_config.jinja2
src
:
ssh_config.jinja2
dest
:
/home/{{ item }}/.ssh/config
dest
:
/home/{{ item }}/.ssh/config
owner
:
'
{{
item
}}'
owner
:
'
{{
item
}}'
group
:
root
group
:
root
mode
:
0644
mode
:
0644
with_flattened
:
with_flattened
:
-
{{
admins|default(
[]
)
}}
-
'
{{
admins|default([])
}}'
-
{{
jailusers|default(
[]
)
}}
-
'
{{
jailusers|default([])
}}'
-
block
:
-
block
:
-
name
:
Read available variable cache files
-
name
:
Read available variable cache files
shell
:
ls ~/.ansible/hostvars
shell
:
ls ~/.ansible/hostvars
become
:
no
become
:
no
register
:
variable_files
register
:
variable_files
failed_when
:
false
failed_when
:
no
changed_when
:
false
changed_when
:
no
ignore_errors
:
true
ignore_errors
:
yes
tags
:
-
always
-
include_tasks
:
more.yml
with_items
:
'
{{
variable_files.stdout_lines|default([])
}}'
loop_control
:
loop_var
:
inventory_name
when
:
lookup('pipe','hostname') == inventory_hostname
-
name
:
Remember that this role had been run
set_fact
:
role_commonconnect_completed
:
yes
tags
:
tags
:
-
always
-
always
-
include_tasks
:
more.yml
with_items
:
'
{{
variable_files.stdout_lines|default([])
}}'
loop_control
:
loop_var
:
inventory_name
when
:
lookup('pipe','hostname') == inventory_hostname
-
name
:
Remember that this role had been run
set_fact
:
role_commonconnect_completed
:
true
tags
:
-
always
when
:
not excluded_roles or "commonconnect" not in excluded_roles and role_commonconnect_completed is not defined
when
:
not excluded_roles or "commonconnect" not in excluded_roles and role_commonconnect_completed is not defined
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment