diff --git a/.gitignore b/.gitignore index 2475f04..78cd7b8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ *.iml .idea -*.retry \ No newline at end of file +*.retry + +*.pyc diff --git a/all.yaml b/all.yaml index b853be6..06ec336 100644 --- a/all.yaml +++ b/all.yaml @@ -15,7 +15,7 @@ tmpl: - { file: "101-syncthing", value: 'Use ProxyHost "syncthing.rudolf" "/" "http://192.168.17.2:{{ syncthing_port }}/" "syncthing.rudolf"' } - { file: "102-jenkins", value: 'Use ProxyHost "jenkins.rudolf" "/" "http://192.168.17.2:{{ jenkins_port }}/" "jenkins.rudolf"' } - - { file: "103-zabbix", value: 'Use ProxyHost "zabbix.rudolf" "/" "http://192.168.17.2/zabbix/" "zabbix.rudolf"' } + - { file: "103-zabbix", value: 'Use ProxyHost "zabbix.rudolf" "/" "http://94.177.197.15:8081/" "zabbix.rudolf"' } - { file: "104-ssh", value: 'Use ProxyHost "sh.rudolf" "/" "http://192.168.17.4:4200/" "sh.rudolf"' } - { file: "torrent", value: 'Use ProxyHost "torrent.rudolf" "/transmission" "http://192.168.17.2:9091/transmission" "torrent.rudolf"' } # - {file: "static", value: 'Use DocRootVHost "static.rudolf" "/home/www/static"' } diff --git a/roles/adm/tasks/main.yaml b/roles/adm/tasks/main.yaml index 54d2280..0eca27b 100644 --- a/roles/adm/tasks/main.yaml +++ b/roles/adm/tasks/main.yaml @@ -32,6 +32,20 @@ - git - etckeeper +- name: Remote etc git + git_config: + repo: /etc + scope: local + name: remote.origin.url + value: http://rudolf.com.ua/rudolf/etckeeper.git + git_config: + repo: /etc + scope: local + name: remote.origin.fetch + value: +refs/heads/*:refs/remotes/origin/* + + + - name: disable ipv6 lineinfile: dest: /etc/sysctl.conf