Skip to content

Commit 4844c85

Browse files
2 new articles
1 parent 94038ff commit 4844c85

1,180 files changed

Lines changed: 72665 additions & 48280 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ansible/index.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<pubDate>Wed, 23 Sep 2015 00:00:00 +0000</pubDate>
1818

1919
<guid>https://softlayer.github.io/ansible/install_vpn/</guid>
20-
<description>--- - hosts: all sudo: yes tasks: - name: Create directory for VPN client file: path: &amp;quot;~/vpn&amp;quot; state: directory - name: Get VPN binary file get_url: url: &amp;quot;http://speedtest.dal05.softlayer.com/array/ArrayNetworksL3VPN_LINUX.zip&amp;quot; dest: &amp;quot;~/vpn/ArrayNetworksL3VPN_LINUX.bin&amp;quot; sha256sum: &amp;quot;6300f97886bdabcd8e92d3327f2704b705dc0bd050b4fd9fb5dc8cb9ed6ceec2&amp;quot; - name: Add execute permissions on VPN client file: path: &amp;quot;~/vpn/ArrayNetworksL3VPN_LINUX.bin&amp;quot; mode: u=rwx - name: Extract VPN client files from binary command: &amp;quot;./ArrayNetworksL3VPN_LINUX.bin&amp;quot; args: chdir: &amp;quot;~/vpn&amp;quot; creates: &amp;quot;~/vpn/array_vpnc64&amp;quot; - name: Update permissions on the VPN client file: path: &amp;quot;~/vpn&amp;quot; mode: &amp;quot;u=rwX,g=rX,o=rX&amp;quot; recurse: yes </description>
20+
<description>--- - hosts: all sudo: yes tasks: - name: Create directory for VPN client file: path: &amp;#34;~/vpn&amp;#34; state: directory - name: Get VPN binary file get_url: url: &amp;#34;http://speedtest.dal05.softlayer.com/array/ArrayNetworksL3VPN_LINUX.zip&amp;#34; dest: &amp;#34;~/vpn/ArrayNetworksL3VPN_LINUX.bin&amp;#34; sha256sum: &amp;#34;6300f97886bdabcd8e92d3327f2704b705dc0bd050b4fd9fb5dc8cb9ed6ceec2&amp;#34; - name: Add execute permissions on VPN client file: path: &amp;#34;~/vpn/ArrayNetworksL3VPN_LINUX.bin&amp;#34; mode: u=rwx - name: Extract VPN client files from binary command: &amp;#34;./ArrayNetworksL3VPN_LINUX.bin&amp;#34; args: chdir: &amp;#34;~/vpn&amp;#34; creates: &amp;#34;~/vpn/array_vpnc64&amp;#34; - name: Update permissions on the VPN client file: path: &amp;#34;~/vpn&amp;#34; mode: &amp;#34;u=rwX,g=rX,o=rX&amp;#34; recurse: yes</description>
2121
</item>
2222

2323
<item>
@@ -26,7 +26,7 @@
2626
<pubDate>Wed, 23 Sep 2015 00:00:00 +0000</pubDate>
2727

2828
<guid>https://softlayer.github.io/ansible/install_sl_cli/</guid>
29-
<description>- hosts: all sudo: yes tasks: - name: Update apt cache apt: update_cache=yes - name: Install pip for the install of the CLI apt: pkg: &amp;quot;{{ item }}&amp;quot; state: present when: ansible_os_family == &#39;Debian&#39; with_items: - python-virtualenv - python-setuptools - python-pip - name: Install the SoftLayer CLI pip: name: softlayer </description>
29+
<description>- hosts: all sudo: yes tasks: - name: Update apt cache apt: update_cache=yes - name: Install pip for the install of the CLI apt: pkg: &amp;#34;{{ item }}&amp;#34; state: present when: ansible_os_family == &amp;#39;Debian&amp;#39; with_items: - python-virtualenv - python-setuptools - python-pip - name: Install the SoftLayer CLI pip: name: softlayer</description>
3030
</item>
3131

3232
</channel>

ansible/install_sl_cli/index.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,27 +127,25 @@ <h3>Install the SoftLayer CLI<br> <small>Ansible playbook to install the SoftLay
127127

128128

129129

130-
<pre><code class="language-yaml">- hosts: all
130+
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-yaml" data-lang="yaml">- hosts: all
131131
sudo: yes
132132
tasks:
133133
- name: Update apt cache
134134
apt: update_cache=yes
135135

136136
- name: Install pip for the install of the CLI
137137
apt:
138-
pkg: &quot;{{ item }}&quot;
138+
pkg: <span style="color:#e6db74">&#34;{{ item }}&#34;</span>
139139
state: present
140-
when: ansible_os_family == 'Debian'
140+
when: ansible_os_family == <span style="color:#e6db74">&#39;Debian&#39;</span>
141141
with_items:
142142
- python-virtualenv
143143
- python-setuptools
144144
- python-pip
145145

146146
- name: Install the SoftLayer CLI
147147
pip:
148-
name: softlayer
149-
</code></pre>
150-
148+
name: softlayer</code></pre></div>
151149
</div>
152150
</div>
153151

ansible/install_vpn/index.html

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -127,39 +127,37 @@ <h3>Install the Array Networks VPN<br> <small>Ansible playbook to install Array
127127

128128

129129

130-
<pre><code class="language-yaml">---
130+
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-yaml" data-lang="yaml">---
131131
- hosts: all
132132
sudo: yes
133133
tasks:
134134
- name: Create directory for VPN client
135135
file:
136-
path: &quot;~/vpn&quot;
136+
path: <span style="color:#e6db74">&#34;~/vpn&#34;</span>
137137
state: directory
138138

139139
- name: Get VPN binary file
140140
get_url:
141-
url: &quot;http://speedtest.dal05.softlayer.com/array/ArrayNetworksL3VPN_LINUX.zip&quot;
142-
dest: &quot;~/vpn/ArrayNetworksL3VPN_LINUX.bin&quot;
143-
sha256sum: &quot;6300f97886bdabcd8e92d3327f2704b705dc0bd050b4fd9fb5dc8cb9ed6ceec2&quot;
141+
url: <span style="color:#e6db74">&#34;http://speedtest.dal05.softlayer.com/array/ArrayNetworksL3VPN_LINUX.zip&#34;</span>
142+
dest: <span style="color:#e6db74">&#34;~/vpn/ArrayNetworksL3VPN_LINUX.bin&#34;</span>
143+
sha256sum: <span style="color:#e6db74">&#34;6300f97886bdabcd8e92d3327f2704b705dc0bd050b4fd9fb5dc8cb9ed6ceec2&#34;</span>
144144

145145
- name: Add execute permissions on VPN client
146146
file:
147-
path: &quot;~/vpn/ArrayNetworksL3VPN_LINUX.bin&quot;
147+
path: <span style="color:#e6db74">&#34;~/vpn/ArrayNetworksL3VPN_LINUX.bin&#34;</span>
148148
mode: u=rwx
149149

150150
- name: Extract VPN client files from binary
151-
command: &quot;./ArrayNetworksL3VPN_LINUX.bin&quot;
151+
command: <span style="color:#e6db74">&#34;./ArrayNetworksL3VPN_LINUX.bin&#34;</span>
152152
args:
153-
chdir: &quot;~/vpn&quot;
154-
creates: &quot;~/vpn/array_vpnc64&quot;
153+
chdir: <span style="color:#e6db74">&#34;~/vpn&#34;</span>
154+
creates: <span style="color:#e6db74">&#34;~/vpn/array_vpnc64&#34;</span>
155155

156156
- name: Update permissions on the VPN client
157157
file:
158-
path: &quot;~/vpn&quot;
159-
mode: &quot;u=rwX,g=rX,o=rX&quot;
160-
recurse: yes
161-
</code></pre>
162-
158+
path: <span style="color:#e6db74">&#34;~/vpn&#34;</span>
159+
mode: <span style="color:#e6db74">&#34;u=rwX,g=rX,o=rX&#34;</span>
160+
recurse: yes</code></pre></div>
163161
</div>
164162
</div>
165163

0 commit comments

Comments
 (0)