<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                ### Centos 7 初始化 ```shell # 第一次部署 ansible-playbook -i hosts/system_hosts system_init/centos7/centos7.yml --skip-tags clean_op_tags ``` ## 調整配置后再次部署 如果優化后,調整了配置,想再次進行優化,需要修改task下的C7_Clean_Optimiz_Tags.yml文件,注釋不優化的部分 假如想重新同步sysct.conf,注釋其他即可 ``` --- - name: clean optimization tags lineinfile: path: "{{ op_tag }}" state: absent regexp: '.system_init' loop: # - /etc/yum.repos.d/CentOS-Base.repo # - /etc/yum.repos.d/epel.repo # - /etc/locale.conf # - /etc/security/limits.d/20-nproc.conf # - /etc/limits.conf # - /etc/ssh/sshd_config - /etc/sysctl.conf # - /etc/profile.d/ps.sh # - /root/.vimrc # - /etc/fail2ban/jail.conf # - /var/spool/cron/root # - /etc/rc.d/rc.local loop_control: loop_var: op_tag tags: clean_op_tags ``` 簡單說就是清理掉之前優化后的tag,讓程序判斷再次優化 ``` ansible-playbook -i hosts/system_hosts system_init/centos7/centos7.yml ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看