Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
hpc-team
HPCasCode
Commits
3749221a
Commit
3749221a
authored
10 years ago
by
Shahaan Ayyub
Browse files
Options
Downloads
Patches
Plain Diff
Final commit (hopefully)...
parent
5a80d002
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/OpenVPN-Client/tasks/copyCerts.yml
+4
-4
4 additions, 4 deletions
roles/OpenVPN-Client/tasks/copyCerts.yml
roles/easy-rsa-CA-client/tasks/buildClientCert.yml
+2
-2
2 additions, 2 deletions
roles/easy-rsa-CA-client/tasks/buildClientCert.yml
with
6 additions
and
6 deletions
roles/OpenVPN-Client/tasks/copyCerts.yml
+
4
−
4
View file @
3749221a
---
-
copy
:
"
src=cert
Dir
/ca.crt
dest=/etc/openvpn/ca.crt
mode=644
owner=root
group=root"
copy
:
"
src=
/tmp/{{
inventory_hostname
}}.
cert/ca.crt
dest=/etc/openvpn/ca.crt
mode=644
owner=root
group=root"
name
:
"
Copying
CA
certificate"
-
copy
:
"
src=cert
Dir
/{{
inventory_hostname
}}.crt
dest=/etc/openvpn/{{
inventory_hostname
}}.crt
mode=644
owner=root
group=root"
copy
:
"
src=
/tmp/{{
inventory_hostname
}}.
cert/{{
inventory_hostname
}}.crt
dest=/etc/openvpn/{{
inventory_hostname
}}.crt
mode=644
owner=root
group=root"
name
:
"
Copying
Client
certificate"
-
copy
:
"
src=cert
Dir
/{{
inventory_hostname
}}.key
dest=/etc/openvpn/{{
inventory_hostname
}}.key
mode=600
owner=root
group=root"
copy
:
"
src=
/tmp/{{
inventory_hostname
}}.
cert/{{
inventory_hostname
}}.key
dest=/etc/openvpn/{{
inventory_hostname
}}.key
mode=600
owner=root
group=root"
name
:
"
Copying
Client
key"
-
copy
:
"
src=client.conf
dest=/etc/openvpn/client.conf
owner=root
group=root
mode=644"
...
...
@@ -21,6 +21,6 @@
name
:
"
Starting
openvpn"
service
:
"
name=openvpn
enabled=yes
state=started"
-
local_action
:
"
command
rm
-rf
{{
ansible_env['PWD']
}}/roles/OpenVPN-Client/files/
cert
Dir
"
local_action
:
"
command
rm
-rf
/tmp/{{
inventory_hostname
}}.
cert"
name
:
"
Removing
Cert
Directory"
This diff is collapsed.
Click to expand it.
roles/easy-rsa-CA-client/tasks/buildClientCert.yml
+
2
−
2
View file @
3749221a
...
...
@@ -22,6 +22,6 @@
fetch
:
"
src=/etc/easy-rsa/2.0/keys/ca.crt
dest=certDir/
fail_on_missing=yes
validate_md5=yes
flat=yes"
name
:
"
Copy
the
Client
Certificate
to
the
master
node"
-
local_action
:
"
command
mv
{{
ansible_env['PWD']
}}/ansible_cluster_in_a_box/certDir
{{
ansible_env['PWD']
}}/ansible_cluster_in_a_box/roles/OpenVPN-Client/files/
"
name
:
"
Moving
certDir
to
files
"
local_action
:
"
command
mv
certDir
/tmp/{{
inventory_hostname
}}.cert
"
name
:
"
Moving
certDir
to
/tmp
"
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