|
58 | 58 | </style> |
59 | 59 | <style type="text/css">code{white-space: pre;}</style> |
60 | 60 | <style type="text/css"> |
| 61 | +html { -webkit-text-size-adjust: 100%; } |
61 | 62 | pre > code.sourceCode { white-space: pre; position: relative; } |
62 | | -pre > code.sourceCode > span { line-height: 1.25; } |
| 63 | +pre > code.sourceCode > span { display: inline-block; line-height: 1.25; } |
63 | 64 | pre > code.sourceCode > span:empty { height: 1.2em; } |
64 | 65 | .sourceCode { overflow: visible; } |
65 | 66 | code.sourceCode > span { color: inherit; text-decoration: inherit; } |
|
70 | 71 | } |
71 | 72 | @media print { |
72 | 73 | pre > code.sourceCode { white-space: pre-wrap; } |
73 | | -pre > code.sourceCode > span { display: inline-block; text-indent: -5em; padding-left: 5em; } |
| 74 | +pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; } |
74 | 75 | } |
75 | 76 | pre.numberSource code |
76 | 77 | { counter-reset: source-line 0; } |
@@ -153,6 +154,10 @@ <h1 class="toc-title">Contents</h1> |
153 | 154 | id="toc-aide_fetch_db">aide_fetch_db</a></li> |
154 | 155 | <li><a href="#aide_check" id="toc-aide_check">aide_check</a></li> |
155 | 156 | <li><a href="#aide_update" id="toc-aide_update">aide_update</a></li> |
| 157 | +<li><a href="#aide_cron_check" |
| 158 | +id="toc-aide_cron_check">aide_cron_check</a></li> |
| 159 | +<li><a href="#aide_cron_interval" |
| 160 | +id="toc-aide_cron_interval">aide_cron_interval</a></li> |
156 | 161 | </ul></li> |
157 | 162 | <li><a href="#example-playbook" id="toc-example-playbook">Example |
158 | 163 | Playbook</a></li> |
@@ -225,25 +230,43 @@ <h2 id="aide_update">aide_update</h2> |
225 | 230 | <p>Updates the AIDE database and stores it on the controller node</p> |
226 | 231 | <p>Default: <code>false</code></p> |
227 | 232 | <p>Type: <code>bool</code></p> |
| 233 | +<h2 id="aide_cron_check">aide_cron_check</h2> |
| 234 | +<p>If set to <code>true</code>, configures periodic cron check for aide |
| 235 | +If set to <code>false</code>, removes the periodic cron check</p> |
| 236 | +<p>Default: <code>null</code></p> |
| 237 | +<p>Type: <code>bool</code></p> |
| 238 | +<h2 id="aide_cron_interval">aide_cron_interval</h2> |
| 239 | +<p>Set check interval for cron</p> |
| 240 | +<div class="sourceCode" id="cb2"><pre |
| 241 | +class="sourceCode yaml"><code class="sourceCode yaml"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Example of job definition:</span></span> |
| 242 | +<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a><span class="co"># .---------------- minute (0 - 59)</span></span> |
| 243 | +<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a><span class="co"># | .------------- hour (0 - 23)</span></span> |
| 244 | +<span id="cb2-4"><a href="#cb2-4" aria-hidden="true" tabindex="-1"></a><span class="co"># | | .---------- day of month (1 - 31)</span></span> |
| 245 | +<span id="cb2-5"><a href="#cb2-5" aria-hidden="true" tabindex="-1"></a><span class="co"># | | | .------- month (1 - 12) OR jan,feb,mar,apr ...</span></span> |
| 246 | +<span id="cb2-6"><a href="#cb2-6" aria-hidden="true" tabindex="-1"></a><span class="co"># | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat</span></span> |
| 247 | +<span id="cb2-7"><a href="#cb2-7" aria-hidden="true" tabindex="-1"></a><span class="co"># | | | | |</span></span> |
| 248 | +<span id="cb2-8"><a href="#cb2-8" aria-hidden="true" tabindex="-1"></a><span class="co"># * * * * *</span></span></code></pre></div> |
| 249 | +<p>Default: <code>0 12 * * *</code></p> |
| 250 | +<p>Type: <code>string</code></p> |
228 | 251 | <h1 id="example-playbook">Example Playbook</h1> |
229 | 252 | <p>Including an example of how to use your role (for instance, with |
230 | 253 | variables passed in as parameters) is always nice for users too:</p> |
231 | | -<div class="sourceCode" id="cb2"><pre |
232 | | -class="sourceCode yaml"><code class="sourceCode yaml"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="co"># </span><span class="an">SPDX-License-Identifier:</span><span class="co"> MIT</span></span> |
233 | | -<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a><span class="pp">---</span></span> |
234 | | -<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a><span class="kw">-</span><span class="at"> </span><span class="fu">name</span><span class="kw">:</span><span class="at"> Example aide role invocation</span></span> |
235 | | -<span id="cb2-4"><a href="#cb2-4" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">hosts</span><span class="kw">:</span><span class="at"> targets</span></span> |
236 | | -<span id="cb2-5"><a href="#cb2-5" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">tasks</span><span class="kw">:</span></span> |
237 | | -<span id="cb2-6"><a href="#cb2-6" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="kw">-</span><span class="at"> </span><span class="fu">name</span><span class="kw">:</span><span class="at"> Include role aide</span></span> |
238 | | -<span id="cb2-7"><a href="#cb2-7" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">vars</span><span class="kw">:</span></span> |
239 | | -<span id="cb2-8"><a href="#cb2-8" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">aide_db_fetch_dir</span><span class="kw">:</span><span class="at"> files</span></span> |
240 | | -<span id="cb2-9"><a href="#cb2-9" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">aide_install</span><span class="kw">:</span><span class="at"> </span><span class="ch">true</span></span> |
241 | | -<span id="cb2-10"><a href="#cb2-10" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">aide_generate_config</span><span class="kw">:</span><span class="at"> </span><span class="ch">true</span></span> |
242 | | -<span id="cb2-11"><a href="#cb2-11" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">aide_init</span><span class="kw">:</span><span class="at"> </span><span class="ch">true</span></span> |
243 | | -<span id="cb2-12"><a href="#cb2-12" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">aide_check</span><span class="kw">:</span><span class="at"> </span><span class="ch">false</span></span> |
244 | | -<span id="cb2-13"><a href="#cb2-13" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">aide_update</span><span class="kw">:</span><span class="at"> </span><span class="ch">false</span></span> |
245 | | -<span id="cb2-14"><a href="#cb2-14" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">ansible.builtin.include_role</span><span class="kw">:</span></span> |
246 | | -<span id="cb2-15"><a href="#cb2-15" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">name</span><span class="kw">:</span><span class="at"> linux-system-roles.aide</span></span></code></pre></div> |
| 254 | +<div class="sourceCode" id="cb3"><pre |
| 255 | +class="sourceCode yaml"><code class="sourceCode yaml"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="co"># </span><span class="an">SPDX-License-Identifier:</span><span class="co"> MIT</span></span> |
| 256 | +<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a><span class="pp">---</span></span> |
| 257 | +<span id="cb3-3"><a href="#cb3-3" aria-hidden="true" tabindex="-1"></a><span class="kw">-</span><span class="at"> </span><span class="fu">name</span><span class="kw">:</span><span class="at"> Example aide role invocation</span></span> |
| 258 | +<span id="cb3-4"><a href="#cb3-4" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">hosts</span><span class="kw">:</span><span class="at"> targets</span></span> |
| 259 | +<span id="cb3-5"><a href="#cb3-5" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">tasks</span><span class="kw">:</span></span> |
| 260 | +<span id="cb3-6"><a href="#cb3-6" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="kw">-</span><span class="at"> </span><span class="fu">name</span><span class="kw">:</span><span class="at"> Include role aide</span></span> |
| 261 | +<span id="cb3-7"><a href="#cb3-7" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">vars</span><span class="kw">:</span></span> |
| 262 | +<span id="cb3-8"><a href="#cb3-8" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">aide_db_fetch_dir</span><span class="kw">:</span><span class="at"> files</span></span> |
| 263 | +<span id="cb3-9"><a href="#cb3-9" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">aide_install</span><span class="kw">:</span><span class="at"> </span><span class="ch">true</span></span> |
| 264 | +<span id="cb3-10"><a href="#cb3-10" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">aide_generate_config</span><span class="kw">:</span><span class="at"> </span><span class="ch">true</span></span> |
| 265 | +<span id="cb3-11"><a href="#cb3-11" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">aide_init</span><span class="kw">:</span><span class="at"> </span><span class="ch">true</span></span> |
| 266 | +<span id="cb3-12"><a href="#cb3-12" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">aide_check</span><span class="kw">:</span><span class="at"> </span><span class="ch">false</span></span> |
| 267 | +<span id="cb3-13"><a href="#cb3-13" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">aide_update</span><span class="kw">:</span><span class="at"> </span><span class="ch">false</span></span> |
| 268 | +<span id="cb3-14"><a href="#cb3-14" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">ansible.builtin.include_role</span><span class="kw">:</span></span> |
| 269 | +<span id="cb3-15"><a href="#cb3-15" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">name</span><span class="kw">:</span><span class="at"> linux-system-roles.aide</span></span></code></pre></div> |
247 | 270 | <p>More examples can be found in the <a |
248 | 271 | href="examples"><code>examples/</code></a> directory.</p> |
249 | 272 | <h1 id="license">License</h1> |
|
0 commit comments