File tree Expand file tree Collapse file tree 4 files changed +26
-0
lines changed
Expand file tree Collapse file tree 4 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 1111 - { role: nemea-status, tags: nemea-status }
1212 - { role: main-page, tags: main-page }
1313 - { role: warden-client, tags: warden-client }
14+ - { role: easyrsa, tags: easyrsa }
1415 - { role: fail2ban, tags: fail2ban }
Original file line number Diff line number Diff line change 1+ - name : Download EasyRSA archive
2+ get_url :
3+ url : " {{ easyrsa_src.url }}"
4+ dest : " {{ easyrsa_src.dest }}"
5+
6+ - name : Extract EasyRSA
7+ shell : |
8+ mkdir -p "{{ easyrsa_src.creates }}"
9+ tar -C "{{ easyrsa_src.creates }}" --strip-components=1 -xzf "{{ easyrsa_src.dest }}"
10+ rm "{{ easyrsa_src.dest }}"
11+ args :
12+ creates : " {{ easyrsa_src.creates }}"
13+
Original file line number Diff line number Diff line change 1+ - name : EasyRSA install
2+ include : install.yml
3+ tags : install
4+
Original file line number Diff line number Diff line change 1+ easyrsa_tmp : " /tmp"
2+
3+ easyrsa_src : {
4+ url : " https://github.com/OpenVPN/easy-rsa/releases/download/v3.0.6/EasyRSA-unix-v3.0.6.tgz" ,
5+ dest : " {{ easyrsa_tmp }}/EasyRSA-unix-v3.0.6.tgz" ,
6+ creates : " /opt/easyrsa"
7+ }
8+
You can’t perform that action at this time.
0 commit comments