tabs -> spaces
This commit is contained in:
parent
a80ce2e930
commit
d133676f28
|
@ -52,18 +52,18 @@
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h3>Les fichiers de cron</h3>
|
<h3>Les fichiers de cron</h3>
|
||||||
<pre>
|
<pre>
|
||||||
<code data-trim class="hljs nohighlight">
|
<code data-trim class="hljs nohighlight">
|
||||||
# systemctl status cron
|
# systemctl status cron
|
||||||
</code>
|
</code>
|
||||||
<code data-trim class="hljs nohighlight">
|
<code data-trim class="hljs nohighlight">
|
||||||
# vim /etc/crontab
|
# vim /etc/crontab
|
||||||
# vim /etc/default/cron
|
# vim /etc/default/cron
|
||||||
</code>
|
</code>
|
||||||
</pre>
|
</pre>
|
||||||
<pre>
|
<pre>
|
||||||
<code data-trim class="hljs nohighlight">
|
<code data-trim class="hljs nohighlight">
|
||||||
# vim /etc/cron.d/example
|
# vim /etc/cron.d/example
|
||||||
</code>
|
</code>
|
||||||
30 05 * * 0 www-data /usr/local/adm/savelog-weekly
|
30 05 * * 0 www-data /usr/local/adm/savelog-weekly
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<pre>
|
<pre>
|
||||||
<h3>Éditer une table</h3>
|
<h3>Éditer une table</h3>
|
||||||
<code data-trim class="hljs nohighlight">
|
<code data-trim class="hljs nohighlight">
|
||||||
$ crontab -e
|
$ crontab -e
|
||||||
</code>
|
</code>
|
||||||
|
@ -93,7 +93,7 @@ MAILTO=alert@example.com
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<pre>
|
<pre>
|
||||||
<h3>Documentation et consultation</h3>
|
<h3>Documentation et consultation</h3>
|
||||||
<code data-trim class="hljs nohighlight">
|
<code data-trim class="hljs nohighlight">
|
||||||
$ man 5 crontab
|
$ man 5 crontab
|
||||||
</code>
|
</code>
|
||||||
|
@ -561,7 +561,7 @@ ansible 2.2.1.0
|
||||||
$ ansible localhost --module-name setup --args "filter=ansible_mem*"
|
$ ansible localhost --module-name setup --args "filter=ansible_mem*"
|
||||||
$ ansible localhost --module-name lineinfile --args \
|
$ ansible localhost --module-name lineinfile --args \
|
||||||
"dest=/etc/hosts regexp=example.com line='192.168.0.25 example.com'"
|
"dest=/etc/hosts regexp=example.com line='192.168.0.25 example.com'"
|
||||||
</code></pre>
|
</code></pre>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<h3>Éléments de base</h3>
|
<h3>Éléments de base</h3>
|
||||||
|
@ -608,41 +608,41 @@ ansible 2.2.1.0
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<pre><code class="hljs nohighlight" data-trim>
|
<pre><code class="hljs nohighlight" data-trim>
|
||||||
inventory/
|
inventory/
|
||||||
├── group_vars
|
├── group_vars
|
||||||
│ ├── all.yml
|
│ ├── all.yml
|
||||||
│ ├── hypervisors.yml
|
│ ├── hypervisors.yml
|
||||||
│ └── proxies.yml
|
│ └── proxies.yml
|
||||||
├── hosts
|
├── hosts
|
||||||
├── hosts-dev
|
├── hosts-dev
|
||||||
└── host_vars
|
└── host_vars
|
||||||
├── stack01-data01.yml
|
├── stack01-data01.yml
|
||||||
├── stack01-front01-web01.yml
|
├── stack01-front01-web01.yml
|
||||||
└── stack01-front01.yml
|
└── stack01-front01.yml
|
||||||
</code></pre>
|
</code></pre>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<pre><code class="hljs ini" data-trim style="max-height: 600px">
|
<pre><code class="hljs ini" data-trim style="max-height: 600px">
|
||||||
kvm01 ansible_host=192.168.2.1
|
kvm01 ansible_host=192.168.2.1
|
||||||
kvm02 ansible_host=192.168.2.2
|
kvm02 ansible_host=192.168.2.2
|
||||||
|
|
||||||
stack01-front01 ansible_host=192.168.2.1 ansible_port=22020
|
stack01-front01 ansible_host=192.168.2.1 ansible_port=22020
|
||||||
stack01-front01-web01 ansible_host=192.168.2.1 ansible_port=22101
|
stack01-front01-web01 ansible_host=192.168.2.1 ansible_port=22101
|
||||||
stack01-data01 ansible_host=192.168.2.1 ansible_port=22010
|
stack01-data01 ansible_host=192.168.2.1 ansible_port=22010
|
||||||
|
|
||||||
[hypervisors]
|
[hypervisors]
|
||||||
kvm01
|
kvm01
|
||||||
kvm02
|
kvm02
|
||||||
|
|
||||||
[fronts]
|
[fronts]
|
||||||
stack01-front01
|
stack01-front01
|
||||||
|
|
||||||
[dbs]
|
[dbs]
|
||||||
stack01-data01
|
stack01-data01
|
||||||
|
|
||||||
[web]
|
[web]
|
||||||
stack01-front01-web01
|
stack01-front01-web01
|
||||||
</code></pre>
|
</code></pre>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<h4>Variables</h4>
|
<h4>Variables</h4>
|
||||||
|
|
Loading…
Reference in a new issue