unit_type string | repo_path string | commit_id string | stars int32 | unit_prefix string | shard int32 | license_types list | files list | quality dict | flags dict |
|---|---|---|---|---|---|---|---|---|---|
ansible_role | Otus-DevOps-2020-08/ValeriyTyutyunnik_infra | 3ac66b3945ff477c6616c085d993bb3641a2bb91 | 0 | ansible/roles/app | 269 | [
"no_license"
] | [
{
"path": "ansible/roles/app/tasks/deploy.yml",
"content": "---\n- name: Install git\n become: true\n apt:\n pkg: git\n state: present\n\n- name: Fetch the latest version of application code\n git:\n repo: 'https://github.com/express42/reddit.git'\n dest: /home/{{ deploy_user }}/reddit\n v... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 592,
"all_permissive": false
} |
ansible_role | Otus-DevOps-2020-08/ValeriyTyutyunnik_infra | 3ac66b3945ff477c6616c085d993bb3641a2bb91 | 0 | ansible/roles/db | 269 | [
"no_license"
] | [
{
"path": "ansible/roles/db/tasks/install_mongo.yml",
"content": "---\n- name: Add key\n apt_key:\n url: https://www.mongodb.org/static/pgp/server-4.2.asc\n state: present\n tags: install\n\n# Подключаем репозиторий с пакетами mongodb\n- name: Add APT repository\n apt_repository:\n repo: deb [ a... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 704,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 014/ansible_example_for_roles/roles/deploy | 269 | [
"no_license"
] | [
{
"path": "014/ansible_example_for_roles/roles/deploy/handlers/main.yml",
"content": "---\n- name: restart nginx\n systemd:\n name: nginx\n state: restarted\n enabled: yes\n\n- name: reload nginx\n systemd:\n name: nginx\n state: reloaded",
"license_type": "no_license",
"detected_li... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 796,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 014/ansible_example_for_roles/roles/init | 269 | [
"no_license"
] | [
{
"path": "014/ansible_example_for_roles/roles/init/tasks/main.yml",
"content": "---\n\n- name: Install EPEL Repo package from standart repo\n yum:\n name: epel-release\n state: present\n tags:\n - epel-repo\n\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 13... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 132,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 020/ansible/roles/at_the_end | 269 | [
"no_license"
] | [
{
"path": "020/ansible/roles/at_the_end/tasks/main.yml",
"content": "---\n- name: Print to screen google authenticator details\n command: /bin/cat /etc/prometheus/prometheus.yml\n register: content\n\n- name: Update prometheus.yml\n lineinfile:\n insertafter: EOF\n dest: /etc/prometheus/prometheus.... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 429,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 020/ansible/roles/client | 269 | [
"no_license"
] | [
{
"path": "020/ansible/roles/client/tasks/main.yml",
"content": "---\n- name: Synchronize datetime | Install chrony\n yum:\n name: chrony\n state: latest\n tags:\n - prometeus-client-configure\n - configure-datetime\n\n- name: Synchronize datetime | Turn on chronyd\n service:\n name: chron... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2286,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 020/ansible/roles/server | 269 | [
"no_license"
] | [
{
"path": "020/ansible/roles/server/tasks/main.yml",
"content": "---\n- name: Set time zone # \\cp /usr/share/zoneinfo/Europe/Moscow /etc/localtime\n copy:\n src: /usr/share/zoneinfo/Europe/Moscow\n dest: /etc/localtime\n tags:\n - prometeus-server-configure\n - set-tz\n\n- name: Synchronize d... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 4090,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 023/ansible/roles/client | 269 | [
"no_license"
] | [
{
"path": "023/ansible/roles/client/handlers/main.yml",
"content": "---\n- name: enable nginx\n systemd:\n name: nginx\n enabled: yes\n\n- name: start nginx\n systemd:\n name: nginx\n enabled: yes\n state: started\n\n- name: reload nginx\n systemd:\n state: reloaded\n name: nginx\n\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 7,
"total_bytes": 10305,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 023/ansible/roles/server | 269 | [
"no_license"
] | [
{
"path": "023/ansible/roles/server/handlers/main.yml",
"content": "---\n- name: restart rsyslog\n systemd:\n name: rsyslog\n state: restarted\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 78
},
{
"path": "023/ansible/roles/server/vars/main.yml",
"co... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 4325,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 023/ansible/roles/test_payload | 269 | [
"no_license"
] | [
{
"path": "023/ansible/roles/test_payload/vars/main.yml",
"content": "rsyslog_logfile_base_path: /var/log/rsyslog/\nrsyslog_port: 514\nhosts:\n web:\n ip: 192.168.23.80\n name: hw23web\n port: 8080\n log:\n ip: 127.0.0.1\n name: hw23log\n",
"license_type": "no_license",
"detected_li... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 446,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 026/ansible/roles/forwarding-on | 269 | [
"no_license"
] | [
{
"path": "026/ansible/roles/forwarding-on/tasks/main.yml",
"content": "---\n- name: /etc/sysctl.conf | content\n command: /bin/cat /etc/sysctl.conf\n register: sysctl_conf_content\n\n- name: /etc/sysctl.conf | forwarding = 1 | if does not exist\n lineinfile:\n insertafter: EOF\n dest: /etc/sysctl.... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 880,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 026/ansible/roles/network-hosts | 269 | [
"no_license"
] | [
{
"path": "026/ansible/roles/network-hosts/tasks/main.yml",
"content": "---\n- name: /etc/sysconfig/network-scripts/ifcfg-eth0 | content\n command: /bin/cat /etc/sysconfig/network-scripts/ifcfg-eth0\n register: ifcfg_eth0_content\n tags:\n - deploy\n\n- name: /etc/sysconfig/network-scripts/ifcfg-eth0 ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1719,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 026/ansible/roles/routing | 269 | [
"no_license"
] | [
{
"path": "026/ansible/roles/routing/tasks/main.yml",
"content": "---\n- name: /etc/sysconfig/network | \"NOZEROCONF=yes\" | I don't want 169.254.0.0/16 network at default\n shell: |\n echo \"NOZEROCONF=yes\" > /etc/sysconfig/network\n exit 0\n ignore_errors: false\n\n# /etc/sysconfig/static-routes ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 3619,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 026/ansible/roles/test_001_network_connectivity | 269 | [
"no_license"
] | [
{
"path": "026/ansible/roles/test_001_network_connectivity/tasks/main.yml",
"content": "---\n- name: test | demostration\n debug:\n msg: \"I am {{ inventory_hostname }}\"\n\n- name: test | traceroute foreign host\n shell: traceroute {{ item }}\n loop: \"{{ to }}\"\n ignore_errors: false\n register: ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 605,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 027_2/ansible/roles/task_001_password_auth | 269 | [
"no_license"
] | [
{
"path": "027_2/ansible/roles/task_001_password_auth/handlers/main.yml",
"content": "---\n- name: systemctl-restart-sshd\n systemd:\n state: restarted\n name: sshd\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 82
},
{
"path": "027_2/ansible/roles/task_0... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 978,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 027_2/ansible/roles/task_001_port_knocking_client | 269 | [
"no_license"
] | [
{
"path": "027_2/ansible/roles/task_001_port_knocking_client/tasks/main.yml",
"content": "---\n- name: Install Nmap\n yum:\n name: nmap\n\n- name: Copy port knocking file for clients\n copy:\n src: ../files/port_knocking.sh\n dest: /home/vagrant/port_knocking.sh\n owner: vagrant\n group: va... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 849,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 027_2/ansible/roles/task_001_port_knocking_target | 269 | [
"no_license"
] | [
{
"path": "027_2/ansible/roles/task_001_port_knocking_target/tasks/main.yml",
"content": "---\n- name: Copy port-knocking rules file\n copy:\n src: ../files/iptables.rules\n dest: /home/vagrant/iptables.rules\n owner: vagrant\n group: vagrant\n mode: u=rx,g=-rwx,o-rwx\n\n- name: Apply and sa... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 332,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 027_2/ansible/roles/task_002_nginx | 269 | [
"no_license"
] | [
{
"path": "027_2/ansible/roles/task_002_nginx/tasks/main.yml",
"content": "---\n- name: Install EPEL Repo package from standart repo\n yum:\n name: epel-release\n state: present\n\n- name: Install nginx\n yum:\n name: nginx\n state: present\n\n- name: Configure nginx\n template:\n src: ../... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1001,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 027_2/ansible/roles/task_002_port_forwarding | 269 | [
"no_license"
] | [
{
"path": "027_2/ansible/roles/task_002_port_forwarding/tasks/main.yml",
"content": "---\n- name: iptables dnat\n iptables:\n table: nat\n chain: PREROUTING\n protocol: tcp\n destination_port: 8080\n to_destination: \"192.168.0.2:80\"\n jump: DNAT\n tags:\n - deploy\n - iptables-dn... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 402,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 027_2/ansible/roles/test_001_network_connectivity | 269 | [
"no_license"
] | [
{
"path": "027_2/ansible/roles/test_001_network_connectivity/tasks/main.yml",
"content": "---\n- name: test | demostration\n debug:\n msg: \"Run from inventory: {{ inventory_hostname }}\"\n\n- name: test | traceroute foreign host\n shell: traceroute {{ item }}\n loop: \"{{ to }}\"\n ignore_errors: fa... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 479,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 027_2/ansible/roles/test_003_http_connectivity | 269 | [
"no_license"
] | [
{
"path": "027_2/ansible/roles/test_003_http_connectivity/tasks/main.yml",
"content": "---\n- name: test | http | curl\n shell: curl 192.168.0.2:80\n register: curl_content\n\n- name: test | http | index page content\n debug:\n msg: \"{{ curl_content['stdout'] }}\"\n",
"license_type": "no_license"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 176,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 027_tobe/ansible/roles/pxeserver | 269 | [
"no_license"
] | [
{
"path": "027_tobe/ansible/roles/pxeserver/handlers/main.yml",
"content": "---\n- name: systemctl-restart-dhcpd\n systemd:\n state: restarted\n name: dhcpd\n#\n#- name: systemctl-restart-nfs-server\n# systemd:\n# state: restarted\n# name: nfs-server\n\n- name: enable nginx\n systemd:\n na... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 4717,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 027_tobe/ansible/roles/pxeserver_test | 269 | [
"no_license"
] | [
{
"path": "027_tobe/ansible/roles/pxeserver_test/vars/main.yml",
"content": "pages: \n - pxelinux.0\n - libutil.c32\n - menu.c32\n - libmenu.c32\n - ldlinux.c32\n - vesamenu.c32\n - exports\n - pxelinux.cfg/default\n - centos8-install/LICENSE\n - cfg/ks.cfg\n - images/CentOS-8/initrd.img\n - ima... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2010,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 031/ansible/roles/check_openvpn_client | 269 | [
"no_license"
] | [
{
"path": "031/ansible/roles/check_openvpn_client/tasks/main.yml",
"content": "---\n- name: Check openvpn client\n shell: '{{ item }}'\n loop:\n - systemctl status openvpn@client.service\n - \"/sbin/ip addr | awk -v RS='(^|\\n)[0-9]+: ' '/^(tun|tap)[0-9]*:/ {print}'\"\n register: check_content\n\n-... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 468,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 031/ansible/roles/check_openvpn_server | 269 | [
"no_license"
] | [
{
"path": "031/ansible/roles/check_openvpn_server/tasks/main.yml",
"content": "---\n- name: Check openvpn server-{tun,tap,tun-ras}\n shell: \"{{ item }}\"\n loop:\n - systemctl status openvpn@server-tun.service\n - sudo cat /var/log/openvpn/openvpn-tun.log\n - sudo cat /var/log/openvpn/openvpn-tu... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 911,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 031/ansible/roles/clear_lab | 269 | [
"no_license"
] | [
{
"path": "031/ansible/roles/clear_lab/tasks/main.yml",
"content": "---\n- name: Clear project | remove temp dir\n shell:\n rm -fr {{ temp_dir }}\n echo '' > /var/log/openvpn/openvpn.log\n echo '' > /var/log/openvpn/openvpn-status.log\n\n- name: Clear project | uninstall wget\n yum:\n name: wg... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 345,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 031/ansible/roles/configure_openvpn_clienttun | 269 | [
"no_license"
] | [
{
"path": "031/ansible/roles/configure_openvpn_clienttun/handlers/main.yml",
"content": "---\n- name: systemctl-restart-openvpn\n systemd:\n name: openvpn<EMAIL>\n state: restarted\n enabled: yes\n become: true\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 1... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 817,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 031/ansible/roles/configure_openvpn_clienttunras | 269 | [
"no_license"
] | [
{
"path": "031/ansible/roles/configure_openvpn_clienttunras/tasks/main.yml",
"content": "---\n- name: Collect client keys for remote access (part 1)\n shell: |\n mkdir -p \"{{ temp_dir }}ras_client/\"{private,issued}\n\n- name: Collect client keys for remote access (part 2)\n copy:\n src: \"{{ temp_... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 515,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 031/ansible/roles/configure_openvpn_server | 269 | [
"no_license"
] | [
{
"path": "031/ansible/roles/configure_openvpn_server/vars/main.yml",
"content": "temp_dir: /home/vagrant/common/temp/\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 37
},
{
"path": "031/ansible/roles/configure_openvpn_server/handlers/main.yml",
"content": "... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1688,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 031/ansible/roles/generate_vpn_client_certs | 269 | [
"no_license"
] | [
{
"path": "031/ansible/roles/generate_vpn_client_certs/tasks/main.yml",
"content": "---\n- name: EasyRSA - client side CERT\n shell: |\n rm -f {{temp_dir}}easyrsa/pki/reqs/client.req\n rm -f {{temp_dir}}easyrsa/pki/private/client.key\n rm -f {{temp_dir}}easyrsa/pki/issued/client.crt\n cd {{temp... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 641,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 031/ansible/roles/generate_vpn_server_certs | 269 | [
"no_license"
] | [
{
"path": "031/ansible/roles/generate_vpn_server_certs/tasks/main.yml",
"content": "---\n- name: Install EPEL Repo package from standart repo\n yum:\n name: epel-release\n state: present\n tags:\n - install-epel-repo\n\n- name: Install Wget\n yum:\n name: wget\n state: latest\n tags:\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2589,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 031/ansible/roles/ras_additional | 269 | [
"no_license"
] | [
{
"path": "031/ansible/roles/ras_additional/handlers/main.yml",
"content": "---\n- name: start nginx\n systemd:\n name: nginx\n state: started\n\n- name: restart nginx\n systemd:\n name: nginx\n state: restarted\n\n- name: restart network\n systemd:\n name: network\n state: restarted\n"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1216,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 033_part1/ansible/roles/create_vlan | 269 | [
"no_license"
] | [
{
"path": "033_part1/ansible/roles/create_vlan/vars/main.yml",
"content": "networks_hosts:\n testClient1:\n vlans:\n - {\n DEVICE: eth1.100,\n BOOTPROTO: \"none\",\n TYPE: VLAN,\n ONBOOT: \"yes\",\n IPADDR: 10.10.10.254,\n NETMASK: 255.255.255.0,\n U... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1833,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 033_part1/ansible/roles/test_interfaces | 269 | [
"no_license"
] | [
{
"path": "033_part1/ansible/roles/test_interfaces/handlers/main.yml",
"content": "---\n- name: test | uninstall sshpass\n yum:\n name: sshpass\n state: absent\n become: yes\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 94
},
{
"path": "033_part1/ansibl... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 671,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 033_part2/ansible/roles/create_bond | 269 | [
"no_license"
] | [
{
"path": "033_part2/ansible/roles/create_bond/vars/main.yml",
"content": "networks_hosts:\n inetRouter:\n bonds:\n - {\n # NAME: bond0,\n # ZONE: internal,\n # UUID: e19e2059-2e31-4143-915a-cdc11d19c9d6\n DEVICE: bond0,\n NAME: bond0,\n TYPE: Bond,\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 3265,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 033_part2/ansible/roles/demonstrate | 269 | [
"no_license"
] | [
{
"path": "033_part2/ansible/roles/demonstrate/vars/main.yml",
"content": "to_do:\n # - cat /etc/modprobe.d/bonding.conf\n - cat /etc/sysconfig/network-scripts/ifcfg-bond0\n - cat /etc/sysconfig/network-scripts/ifcfg-eth1\n - cat /etc/sysconfig/network-scripts/ifcfg-eth2\n - cat /proc/net/bonding/bond0... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 671,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 034/ansible/roles/client | 269 | [
"no_license"
] | [
{
"path": "034/ansible/roles/client/tasks/main.yml",
"content": "---\n- name: copy resolv.conf\n copy:\n src: ../files/resolv.conf\n dest: /etc/resolv.conf\n owner: root\n group: root\n mode: 0640\n tags:\n - deploy\n - setup-resolv-conf\n\n- name: network manager war | chattr +i /etc... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 5361,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 034/ansible/roles/fwd_check | 269 | [
"no_license"
] | [
{
"path": "034/ansible/roles/fwd_check/tasks/main.yml",
"content": "---\n- name: Check firewall-cmd state\n shell: firewall-cmd --state\n register: firewall_cmd_state\n\n- name: Store to file firewall-cmd state\n local_action:\n module: copy\n content: \"{{ firewall_cmd_state['stdout'] }}\"\n de... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 312,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 034/ansible/roles/server | 269 | [
"no_license"
] | [
{
"path": "034/ansible/roles/server/tasks/main.yml",
"content": "---\n- name: Check firewall-cmd state\n shell: firewall-cmd --state\n register: firewall_cmd_state\n tags:\n - deploy\n\n- name: Store to file firewall-cmd state\n local_action:\n module: copy\n content: \"{{ firewall_cmd_state['s... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 12735,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 039/ansible/roles/master | 269 | [
"no_license"
] | [
{
"path": "039/ansible/roles/master/vars/main.yml",
"content": "mysql_root_password: '<PASSWORD>'\ncommon_dir: '/home/vagrant/common'\nserver_id: 1\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 82
},
{
"path": "039/ansible/roles/master/tasks/main.yml",
"con... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 5424,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 039/ansible/roles/master_check | 269 | [
"no_license"
] | [
{
"path": "039/ansible/roles/master_check/vars/main.yml",
"content": "mysql_root_password: '<PASSWORD>'\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 34
},
{
"path": "039/ansible/roles/master_check/tasks/main.yml",
"content": "---\n- name: Mysql | MASTER | ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1219,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 039/ansible/roles/replica | 269 | [
"no_license"
] | [
{
"path": "039/ansible/roles/replica/tasks/main.yml",
"content": "---\n- name: Remove installed packages\n shell: |\n yum list installed | grep {{ item }} | awk '{print $1}' | xargs yum remove -y\n exit 0\n loop:\n - percona\n tags:\n - clean-up\n\n- name: Remove files\n shell: \"rm -rf {{ i... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 4276,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 039/ansible/roles/replica_check_after | 269 | [
"no_license"
] | [
{
"path": "039/ansible/roles/replica_check_after/tasks/main.yml",
"content": "---\n- name: Mysql | SLAVE | SHOW SLAVE STATUS\n shell: mysql -uroot -p'{{ mysql_root_password }}' -e \"{{ stmt }}\"\n vars:\n stmt: \"SHOW SLAVE STATUS \\\\G\"\n register: show_slave_status\n\n- name: Store check to file\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1466,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 039/ansible/roles/replica_check_before | 269 | [
"no_license"
] | [
{
"path": "039/ansible/roles/replica_check_before/tasks/main.yml",
"content": "---\n- name: Mysql | SLAVE | SHOW SLAVE STATUS\n shell: mysql -uroot -p'{{ mysql_root_password }}' -e \"{{ stmt }}\"\n vars:\n stmt: \"SHOW SLAVE STATUS \\\\G\"\n register: show_slave_status\n\n- name: debug\n debug:\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1152,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 040/ansible/roles/barman_on_backup | 269 | [
"no_license"
] | [
{
"path": "040/ansible/roles/barman_on_backup/handlers/main.yml",
"content": "---\n- name: restart-postgresql\n systemd:\n name: postgresql-13.service\n state: restarted\n\n- name: systemd-daemon-reload\n systemd:\n daemon_reload: yes\n",
"license_type": "no_license",
"detected_licenses":... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 10112,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 040/ansible/roles/barman_on_master | 269 | [
"no_license"
] | [
{
"path": "040/ansible/roles/barman_on_master/tasks/main.yml",
"content": "---\n- name: DROP PostgreSQL users\n become_user: postgres\n shell: psql postgres -c \"{{ item }};\"\n loop:\n - REVOKE ALL PRIVILEGES ON FUNCTION pg_stop_backup() FROM streaming_barman\n - REVOKE ALL PRIVILEGES ON FUNCT... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 4238,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 040/ansible/roles/master | 269 | [
"no_license"
] | [
{
"path": "040/ansible/roles/master/tasks/main.yml",
"content": "---\n- name: Install PostgreSQL repo\n yum:\n name: http://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm\n state: present\n tags:\n - install-postgresql-repo\n - install-postgresql\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 3624,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 040/ansible/roles/master_activity | 269 | [
"no_license"
] | [
{
"path": "040/ansible/roles/master_activity/tasks/main.yml",
"content": "---\n- name: PostgreSQL master activity\n shell: sudo -iu postgres psql -c \"INSERT INTO test_schema.test_table(value) VALUES ('Test no.{{ item }}');\"\n with_sequence: start=1 end=10\n",
"license_type": "no_license",
"detec... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 181,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 040/ansible/roles/master_check_and_activity | 269 | [
"no_license"
] | [
{
"path": "040/ansible/roles/master_check_and_activity/tasks/main.yml",
"content": "---\n- name: PostgreSQL master checker\n shell: sudo -iu postgres psql -c \"{{ item }}\"\n loop:\n - \"SELECT application_name, state, sync_priority, sync_state FROM pg_stat_replication;\"\n - \"SELECT * FROM pg_stat... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1431,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 040/ansible/roles/replica | 269 | [
"no_license"
] | [
{
"path": "040/ansible/roles/replica/handlers/main.yml",
"content": "---\n- name: restart-postgresql\n systemd:\n name: postgresql-13.service\n state: restarted",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 94
},
{
"path": "040/ansible/roles/replica/tasks/... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 3520,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 040/ansible/roles/replica_check_after | 269 | [
"no_license"
] | [
{
"path": "040/ansible/roles/replica_check_after/tasks/main.yml",
"content": "---\n- name: PostgreSQL master checker\n shell: sudo -iu postgres psql -c \"{{ item }}\"\n loop:\n - \"SELECT datname AS database_name FROM pg_database;\"\n - \"SELECT schema_name FROM information_schema.schemata;\"\n -... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 950,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 040/ansible/roles/replica_check_before | 269 | [
"no_license"
] | [
{
"path": "040/ansible/roles/replica_check_before/tasks/main.yml",
"content": "---\n- name: PostgreSQL master checker\n shell: sudo -iu postgres psql -c \"{{ item }}\"\n loop:\n - \"SELECT datname AS database_name FROM pg_database;\"\n - \"SELECT schema_name FROM information_schema.schemata;\"\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1126,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 0XX_stand/ansible/roles/internet-router | 269 | [
"no_license"
] | [
{
"path": "0XX_stand/ansible/roles/internet-router/tasks/main.yml",
"content": "---\n- name: iptables masquerading\n iptables:\n table: nat\n chain: POSTROUTING\n out_interface: eth0\n jump: MASQUERADE\n tags:\n - deploy\n - iptables-masquerading\n",
"license_type": "no_license",
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 178,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 0XX_stand_simple/ansible/roles/internet-router | 269 | [
"no_license"
] | [
{
"path": "0XX_stand_simple/ansible/roles/internet-router/tasks/main.yml",
"content": "---\n- name: iptables masquerading\n iptables:\n table: nat\n chain: POSTROUTING\n destination: \"!192.168.0.0/16\"\n out_interface: eth0\n jump: MASQUERADE\n tags:\n - deploy\n - iptables-masquerad... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 213,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 0XX_stand_simple/ansible/roles/routing | 269 | [
"no_license"
] | [
{
"path": "0XX_stand_simple/ansible/roles/routing/tasks/main.yml",
"content": "---\n- name: /etc/sysconfig/network | \"NOZEROCONF=yes\" | I don't want 169.254.0.0/16 network at default\n shell: |\n echo \"NOZEROCONF=yes\" > /etc/sysconfig/network\n exit 0\n ignore_errors: false\n\n- name: /etc/sysco... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 7271,
"all_permissive": false
} |
ansible_role | BorisPlus/otus_linux | c6b7dbdc77e1b8c0dc27abd1789a3c0e02716918 | 6 | 0XX_stand_simple/ansible/roles/test_network_connectivity | 269 | [
"no_license"
] | [
{
"path": "0XX_stand_simple/ansible/roles/test_network_connectivity/handlers/main.yml",
"content": "---\n- name: test | uninstall traceroute\n yum:\n name: traceroute\n state: absent\n become: yes\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 100
},
{
"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 621,
"all_permissive": false
} |
ansible_role | madhugyawali2003/ansible_project | 82defadb4a64050f7aa7ed9b002119dc8fc7a514 | 0 | roles/ansible3 | 269 | [
"no_license"
] | [
{
"path": "roles/ansible3/tasks/main.yml",
"content": "---\n- name: Install essentail packages\n apt:\n name: \"{{ essential_packages}}\"\n state: present\n update_cache: true\n become: true\n \n- name: create a user\n user:\n name: \"{{user_name}}\"\n state: present\n shell: /bin/bash... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 6,
"total_bytes": 1383,
"all_permissive": false
} |
ansible_role | fatalwithin/rabbitmq_cluster_ec2 | ffde36cc234f01ed1903028b34697d469df189cf | 0 | roles/cluster_setup | 269 | [
"no_license"
] | [
{
"path": "roles/cluster_setup/tasks/main.yml",
"content": "---\n- include_tasks: erlang_cookie.yml\n\n- include_tasks: create_cluster.yml\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 76
},
{
"path": "roles/cluster_setup/tasks/queues_mirroring.yml",
"conte... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 315,
"all_permissive": false
} |
ansible_role | fatalwithin/rabbitmq_cluster_ec2 | ffde36cc234f01ed1903028b34697d469df189cf | 0 | roles/deploy_instances | 269 | [
"no_license"
] | [
{
"path": "roles/deploy_instances/tasks/main.yml",
"content": "- name: Facts\n block:\n - name: Get instances facts\n amazon.aws.ec2_instance_info:\n filters:\n \"tag:Name\": \"rabbitmq-*\"\n profile: \"{{ aws_profile }}\"\n region: \"{{ region }}\"\n register: ra... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 7820,
"all_permissive": false
} |
ansible_role | fatalwithin/rabbitmq_cluster_ec2 | ffde36cc234f01ed1903028b34697d469df189cf | 0 | roles/install_rabbitmq | 269 | [
"no_license"
] | [
{
"path": "roles/install_rabbitmq/tasks/config.yml",
"content": "---\n- name: rabbitmq default file\n template:\n src: \"{{ item.src }}\"\n dest: \"{{ item.dest }}\"\n owner: root\n group: root\n mode: 0644\n with_items:\n - {\n src: etc/default/rabbitmq-server.j2,\n dest: ... | {
"task_files": 5,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 6,
"total_bytes": 5644,
"all_permissive": false
} |
ansible_role | fatalwithin/rabbitmq_cluster_ec2 | ffde36cc234f01ed1903028b34697d469df189cf | 0 | roles/load_balancing | 269 | [
"no_license"
] | [
{
"path": "roles/load_balancing/tasks/main.yml",
"content": "---\n- name: Create a target group with rabbit nodes targets (management)\n community.aws.elb_target_group:\n name: rabbitmq-mgmt\n protocol: http\n port: 80\n vpc_id: \"{{ your_vpc_id }}\"\n profile: \"{{ your_aws_profile }}\"\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 3106,
"all_permissive": false
} |
ansible_role | fatalwithin/rabbitmq_cluster_ec2 | ffde36cc234f01ed1903028b34697d469df189cf | 0 | roles/monitoring_setup | 269 | [
"no_license"
] | [
{
"path": "roles/monitoring_setup/defaults/main.yml",
"content": "---\n# See available releases: https://github.com/kbudde/rabbitmq_exporter/releases/\nrabbit_exporter_version: \"1.0.0-RC19\"\nrabbit_exporter_arch: \"amd64\"\nrabbit_exporter_port: \"{{ rabbit_exporter_port }}\"\nrabbit_exporter_user: rabbit... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 6,
"total_bytes": 3904,
"all_permissive": false
} |
ansible_role | MyoMinS/wordpress-ansible-github-action | 9ca41e7b1bfc60a35f7ff294f5f15ff805612ba5 | 0 | roles/apache | 269 | [
"no_license"
] | [
{
"path": "roles/apache/tasks/main.yml",
"content": "- name: Ensure Apache is not running\n ansible.builtin.service:\n name: apache2\n state: stopped\n enabled: false\n\n- name: Uninstall Apache\n ansible.builtin.apt:\n name: \"{{ item }}\"\n state: absent\n with_items:\n - apache2\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 277,
"all_permissive": false
} |
ansible_role | MyoMinS/wordpress-ansible-github-action | 9ca41e7b1bfc60a35f7ff294f5f15ff805612ba5 | 0 | roles/mysql | 269 | [
"no_license"
] | [
{
"path": "roles/mysql/tasks/main.yml",
"content": "- name: Install MySQL\n ansible.builtin.apt:\n name: \"{{ item }}\"\n state: present\n update_cache: true\n with_items:\n - mysql-server\n - python3-pymysql\n\n- name: Create WordPress database\n community.mysql.mysql_db:\n name: \"{{ ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 625,
"all_permissive": false
} |
ansible_role | MyoMinS/wordpress-ansible-github-action | 9ca41e7b1bfc60a35f7ff294f5f15ff805612ba5 | 0 | roles/nginx | 269 | [
"no_license"
] | [
{
"path": "roles/nginx/tasks/main.yml",
"content": "---\n- name: Install Nginx\n ansible.builtin.apt:\n name: \"{{ item }}\"\n state: present\n update_cache: true\n with_items:\n - nginx\n\n- name: Set Nginx conf file\n ansible.builtin.template:\n src: nginx.conf.j2\n dest: \"/etc/nginx... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 2082,
"all_permissive": false
} |
ansible_role | MyoMinS/wordpress-ansible-github-action | 9ca41e7b1bfc60a35f7ff294f5f15ff805612ba5 | 0 | roles/php | 269 | [
"no_license"
] | [
{
"path": "roles/php/handlers/main.yml",
"content": "---\n- name: Start php\n ansible.builtin.service:\n name: \"php{{ php_version }}-{{ item }}\"\n state: started\n with_items:\n - fpm\n\n- name: Reload php\n ansible.builtin.service:\n name: \"php{{ php_version }}-{{ item }}\"\n state: re... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1374,
"all_permissive": false
} |
ansible_role | MyoMinS/wordpress-ansible-github-action | 9ca41e7b1bfc60a35f7ff294f5f15ff805612ba5 | 0 | roles/wordpress | 269 | [
"no_license"
] | [
{
"path": "roles/wordpress/templates/wp-config.php.j2",
"content": "<?php\ndefine('DB_NAME', '{{ mysql_wordpress_db }}');\ndefine('DB_USER', '{{ mysql_wordpress_user }}');\ndefine('DB_PASSWORD', '{{ mysql_wordpress_password }}');\ndefine('DB_HOST', 'localhost');\ndefine('DB_CHARSET', 'utf8');\ndefine('DB_CO... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 2104,
"all_permissive": false
} |
ansible_role | AaronMcKinley/wealth-tracking-framework | 8e70a288746c2acaae3570006d2d03753ecc2d75 | 0 | ansible/roles/docker | 268 | [
"no_license"
] | [
{
"path": "ansible/roles/docker/tasks/main.yml",
"content": "- name: Install required apt packages\n apt:\n name: [apt-transport-https, ca-certificates, curl, gnupg, lsb-release]\n state: present\n update_cache: yes\n\n- name: Add Docker GPG key\n apt_key:\n url: https://download.docker.com/li... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 774,
"all_permissive": false
} |
ansible_role | AaronMcKinley/wealth-tracking-framework | 8e70a288746c2acaae3570006d2d03753ecc2d75 | 0 | ansible/roles/jenkins | 268 | [
"no_license"
] | [
{
"path": "ansible/roles/jenkins/tasks/main.yml",
"content": "- name: Pull Jenkins Docker image\n command: docker pull jenkins/jenkins:lts\n\n- name: Create Jenkins home directory\n file:\n path: /var/jenkins_home\n state: directory\n owner: 1000\n group: 1000\n mode: '0755'\n\n- name: Star... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 439,
"all_permissive": false
} |
ansible_role | sajjanh/ansible_tutorial | 317baafc60a071659ca98747ac98b049d8df4ed5 | 0 | roles/base | 268 | [
"no_license"
] | [
{
"path": "roles/base/tasks/main.yml",
"content": "- name: add ssh key for Hooda\n authorized_key:\n user: Hooda\n key: \"<KEY>\"\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 81
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 81,
"all_permissive": false
} |
ansible_role | sajjanh/ansible_tutorial | 317baafc60a071659ca98747ac98b049d8df4ed5 | 0 | roles/workstations | 268 | [
"no_license"
] | [
{
"path": "roles/workstations/tasks/main.yml",
"content": "- name: install unzip\n package:\n name: unzip\n\n- name: install terraform\n unarchive:\n src: https://releases.hashicorp.com/terraform/1.6.0-rc1/terraform_1.6.0-rc1_linux_amd64.zip\n dest: /usr/local/bin\n remote_src: yes\n mode: ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 277,
"all_permissive": false
} |
ansible_role | layereight/gpio-trigger | 71a1b1857f418d58a4666a4dc2f183fdacefbd3c | 1 | ansible/roles/systemd | 268 | [
"no_license"
] | [
{
"path": "ansible/roles/systemd/tasks/systemd.yml",
"content": "---\n\n - name: Copy custom systemd service file\n template:\n src: \"{{ systemd_service_template }}\"\n dest: \"/etc/systemd/system/{{ systemd_service }}.service\"\n mode: 0600\n backup: yes\n become: yes\n notif... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 571,
"all_permissive": false
} |
ansible_role | mkrajinov/terraform-hcloud-k8s | 88bba71eb68de19ee18919328c3b4f6f64fe0ecd | 0 | provisioning/ansible/roles/containerd | 268 | [
"no_license"
] | [
{
"path": "provisioning/ansible/roles/containerd/tasks/main.yml",
"content": "---\n- name: Disable swap\n command: swapoff -a\n\n- name: Comment out swap entry in /etc/fstab\n replace:\n path: /etc/fstab\n regexp: '^(.* swap .*)$'\n replace: '#\\1'\n\n- name: Configure kernel modules for containe... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 3605,
"all_permissive": false
} |
ansible_role | mkrajinov/terraform-hcloud-k8s | 88bba71eb68de19ee18919328c3b4f6f64fe0ecd | 0 | provisioning/ansible/roles/kubernetes | 268 | [
"no_license"
] | [
{
"path": "provisioning/ansible/roles/kubernetes/tasks/main.yml",
"content": "---\n- name: Install required packages\n apt:\n name: \"{{ packages }}\"\n state: present\n vars:\n packages:\n - curl\n - apt-transport-https\n - ca-certificates\n\n- name: Crete directory for Kubernetes... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1588,
"all_permissive": false
} |
ansible_role | wdrdres3qew5ts21/Ansible-Docker-ELK | fc0fecc3a923352c92ab812863d5c71a268c7f5d | 0 | roles/elk_ansible | 268 | [
"no_license"
] | [
{
"path": "roles/elk_ansible/tasks/main.yml",
"content": "---\n# tasks file for elk_ansible\n- name: \"git clone project MeetU\"\n become: no\n git:\n repo: \"https://github.com/wdrdres3qew5ts21/MeetU.git\"\n dest: \"~/meetu\"\n update: yes \n\n\n- name: \"Start docker-compose Generate SSL & X.50... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1308,
"all_permissive": false
} |
ansible_role | Mawhaze/ansible | cfcef8f922abf7652e2e1c4524fe3373880456fc | 0 | roles/bootstrap | 268 | [
"no_license"
] | [
{
"path": "roles/bootstrap/templates/format_key.j2",
"content": "{% set lines = value.split('\\n') %}\r\n{% for line in lines %}\r\n{{ line | regex_replace('^\\\\s+|\\\\s+$') }}\r\n{% endfor %}",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 117
},
{
"path": "roles... | {
"task_files": 5,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 10,
"total_bytes": 7159,
"all_permissive": false
} |
ansible_role | Mawhaze/ansible | cfcef8f922abf7652e2e1c4524fe3373880456fc | 0 | roles/common | 268 | [
"no_license"
] | [
{
"path": "roles/common/tasks/docker_setup.yml",
"content": "---\r\n- name: Uninstall non CE Docker versions\r\n apt:\r\n name: \"{{ item }}\"\r\n state: absent\r\n with_items:\r\n - docker.io\r\n - docker-compose\r\n\r\n- name: Install dependencies\r\n apt:\r\n name: \"{{ item }}\"\r\n ... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 4084,
"all_permissive": false
} |
ansible_role | Mawhaze/ansible | cfcef8f922abf7652e2e1c4524fe3373880456fc | 0 | roles/create_dns | 268 | [
"no_license"
] | [
{
"path": "roles/create_dns/vars/proxmox_vars.yml",
"content": "---\r\nproxmox_api_user: \"{{ lookup('aws_ssm', '/ansible/sa-ansible/proxmox-user', region='us-west-2', decrypt='true') }}\"\r\nproxmox_api_password: \"{{ lookup('aws_ssm', '/ansible/sa-ansible/proxmox-password', region='us-west-2', decrypt='tr... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 3290,
"all_permissive": false
} |
ansible_role | Mawhaze/ansible | cfcef8f922abf7652e2e1c4524fe3373880456fc | 0 | roles/docker | 268 | [
"no_license"
] | [
{
"path": "roles/docker/vars/main.yml",
"content": "docker_network: docker-compose_default",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 38
},
{
"path": "roles/docker/tasks/main.yml",
"content": "---\r\n- name: Update docker servicie\r\n include_role:\r\n ... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 2699,
"all_permissive": false
} |
ansible_role | Mawhaze/ansible | cfcef8f922abf7652e2e1c4524fe3373880456fc | 0 | roles/k8s_config | 268 | [
"no_license"
] | [
{
"path": "roles/k8s_config/vars/main.yml",
"content": "---\r\nusers:\r\n - sa-k8s\r\n\r\nk8s_user: 'sa-k8s'\r\n\r\nk8s_packages:\r\n - kubelet\r\n - kubeadm\r\n - kubectl\r\n\r\nk8s_version: '1.32'\r\n\r\nadditional_packages:\r\n - socat\r\n",
"license_type": "no_license",
"detected_licenses":... | {
"task_files": 5,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 6,
"total_bytes": 10618,
"all_permissive": false
} |
ansible_role | Mawhaze/ansible | cfcef8f922abf7652e2e1c4524fe3373880456fc | 0 | roles/os_updates | 268 | [
"no_license"
] | [
{
"path": "roles/os_updates/tasks/ubuntu_preupdates.yml",
"content": "---\r\n- name: Disable periodic updates\r\n ansible.builtin.replace:\r\n path: /etc/apt/apt.conf.d/10periodic\r\n regexp: '1'\r\n replace: '0'\r\n\r\n- name: Disable auto updates\r\n ansible.builtin.replace:\r\n path : /etc... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 2897,
"all_permissive": false
} |
ansible_role | Mawhaze/ansible | cfcef8f922abf7652e2e1c4524fe3373880456fc | 0 | roles/proxmox | 268 | [
"no_license"
] | [
{
"path": "roles/proxmox/tasks/api_auth.yml",
"content": "---\r\n- name: Get Proxmox API ticket\r\n uri:\r\n url: \"{{ proxmox_cluster_url }}/api2/json/access/ticket\"\r\n method: POST\r\n body_format: json\r\n body:\r\n username: \"{{ proxmox_api_user }}\"\r\n password: \"{{ <PASSWOR... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 966,
"all_permissive": false
} |
ansible_role | de2p-shikataro/wp-dev | 66a2bbd522aba1610b79760a00594d3ea910d911 | 1 | ansible/roles/common | 268 | [
"no_license"
] | [
{
"path": "ansible/roles/common/tasks/main.yml",
"content": "---\n\n- name: Check if selinux is running\n command: getenforce\n register: sestatus\n changed_when: false\n\n- name: Install libselinux-python\n yum: name=libselinux-python state=present\n\n- name: Install Repository\n yum: name={{ item }} ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 612,
"all_permissive": false
} |
ansible_role | de2p-shikataro/wp-dev | 66a2bbd522aba1610b79760a00594d3ea910d911 | 1 | ansible/roles/mysql | 268 | [
"no_license"
] | [
{
"path": "ansible/roles/mysql/tasks/main.yml",
"content": "---\n- name: Install Mysql package\n yum: name={{ item }} state=present enablerepo=remi\n with_items:\n - mysql-server\n - MySQL-python\n - libselinux-python\n - libsemanage-python\n\n- name: Configure SELinux to start mysql on any port\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 528,
"all_permissive": false
} |
ansible_role | de2p-shikataro/wp-dev | 66a2bbd522aba1610b79760a00594d3ea910d911 | 1 | ansible/roles/nginx | 268 | [
"no_license"
] | [
{
"path": "ansible/roles/nginx/tasks/main.yml",
"content": "---\n\n- name: Install Repository\n yum: name={{ item }} state=present\n with_items:\n - http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm\n\n- name: Install nginx\n yum: name=nginx state=present enab... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 390,
"all_permissive": false
} |
ansible_role | shalb-docker/prometheus | 4a5c23d5ba37b632dfc9dbb40385b6e6d78111bd | 1 | ansible/roles/monit | 268 | [
"no_license"
] | [
{
"path": "ansible/roles/monit/templates/init.d/Gentoo_x_monit.sh",
"content": "#!/bin/bash\n\nstart() {\n /etc/local.d/monit.start\n}\n\nstop() {\n /etc/local.d/monit.stop\n}\n\nrestart() {\n stop\n sleep 1\n start\n}\n\ncase \"$1\" in\n start)\n start\n ;;\n stop)\n ... | {
"task_files": 9,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 27,
"total_bytes": 34104,
"all_permissive": false
} |
ansible_role | shalb-docker/prometheus | 4a5c23d5ba37b632dfc9dbb40385b6e6d78111bd | 1 | ansible/roles/monit_collector | 268 | [
"no_license"
] | [
{
"path": "ansible/roles/monit_collector/templates/init.d/gentoo",
"content": "#!/bin/bash\n\nstart() {\n /etc/local.d/monit_collector.start\n}\n\nstop() {\n /etc/local.d/monit_collector.stop\n}\n\nrestart() {\n stop\n sleep 10\n start\n}\n\ncase \"$1\" in\n start)\n start\n ... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 14,
"total_bytes": 39132,
"all_permissive": false
} |
ansible_role | shalb-docker/prometheus | 4a5c23d5ba37b632dfc9dbb40385b6e6d78111bd | 1 | ansible/roles/node_exporter | 268 | [
"no_license"
] | [
{
"path": "ansible/roles/node_exporter/templates/init.d/amazon_node_exporter",
"content": "#!/bin/bash\n#\n# Init file for prometheus node exporter\n#\n# chkconfig: - 98 02\n# description: prometheus node exporter\n#\n# processname: prometheus\n# config: /etc/node_exporter\n# pidfile: /run/node_exporter.pid... | {
"task_files": 5,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 18,
"total_bytes": 26223,
"all_permissive": false
} |
ansible_role | shalb-docker/prometheus | 4a5c23d5ba37b632dfc9dbb40385b6e6d78111bd | 1 | ansible/roles/rsnapshot_only | 268 | [
"no_license"
] | [
{
"path": "ansible/roles/rsnapshot_only/tasks/scripts.yml",
"content": "---\n- name: Copy Mysql backup script\n template:\n src: mysqlbackup.sh.j2\n dest: /usr/local/bin/mysqlbackup.sh\n mode: 0700\n when: \"'mysql' in services_backup\"\n\n- name: Copy Mongodb backup script\n template:\n src:... | {
"task_files": 9,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 16,
"total_bytes": 13008,
"all_permissive": false
} |
ansible_role | avvldevops/L9 | da3c98887ca50f92e2824d1066950716b1113e29 | 0 | roles/build | 268 | [
"no_license"
] | [
{
"path": "roles/build/tasks/main.yml",
"content": "---\n# tasks file for build\n- name: Clone project from github \n git:\n repo: 'https://github.com/boxfuse/boxfuse-sample-java-war-hello.git'\n dest: /home/GIT/boxfuse\n clone: yes\n\n- name: Build java app \n command: mvn -f /home/GIT/boxfuse/p... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 268,
"all_permissive": false
} |
ansible_role | avvldevops/L9 | da3c98887ca50f92e2824d1066950716b1113e29 | 0 | roles/prep_build | 268 | [
"no_license"
] | [
{
"path": "roles/prep_build/vars/main.yml",
"content": "---\n# vars file for prep_build",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 30
},
{
"path": "roles/prep_build/handlers/main.yml",
"content": "---\n# handlers file for prep_build",
"license_type": "... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 328,
"all_permissive": false
} |
ansible_role | avvldevops/L9 | da3c98887ca50f92e2824d1066950716b1113e29 | 0 | roles/prep_web | 268 | [
"no_license"
] | [
{
"path": "roles/prep_web/defaults/main.yml",
"content": "---\n# defaults file for prepare_web",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 35
},
{
"path": "roles/prep_web/tasks/main.yml",
"content": "---\n# tasks file for prepare_web\n- name: Install JRE\n ... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 453,
"all_permissive": false
} |
ansible_role | avvldevops/L9 | da3c98887ca50f92e2824d1066950716b1113e29 | 0 | roles/web | 268 | [
"no_license"
] | [
{
"path": "roles/web/handlers/main.yml",
"content": "---\n# handlers file for prepare_web\n- name: restart tomcat9\n service: name=tomcat9 state=restarted\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 100
},
{
"path": "roles/web/tasks/main.yml",
"content":... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 335,
"all_permissive": false
} |
ansible_role | opencord/service-profile | 96f17e9906fb2918477b495267827a4034881d3e | 3 | cord-pod-ansible/roles/bootstrap | 268 | [
"no_license"
] | [
{
"path": "cord-pod-ansible/roles/bootstrap/tasks/main.yml",
"content": "---\n\n- name: remove old docker-compose-bootstrap file\n file:\n path=onboarding-docker-compose/docker-compose.yml\n state=absent\n\n- name: run docker-compose to start bootstrapping\n shell: CONFIG_DIR={{ config_dir }} do... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1335,
"all_permissive": false
} |
ansible_role | opencord/service-profile | 96f17e9906fb2918477b495267827a4034881d3e | 3 | cord-pod-ansible/roles/buildconfig | 268 | [
"no_license"
] | [
{
"path": "cord-pod-ansible/roles/buildconfig/tasks/main.yml",
"content": "---\n\n- name: make nodes.yaml\n shell: export SETUPDIR={{ setup_dir }}; bash {{ config_dir }}/../common/make-nodes-yaml.sh\n\n- name: make images.yaml\n shell: export SETUPDIR={{ setup_dir }}; bash {{ config_dir }}/../common/make-... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 659,
"all_permissive": false
} |
ansible_role | opencord/service-profile | 96f17e9906fb2918477b495267827a4034881d3e | 3 | cord-pod-ansible/roles/config | 268 | [
"no_license"
] | [
{
"path": "cord-pod-ansible/roles/config/tasks/run_config.yml",
"content": "- set_fact: recipe=\"{{ item }}\"\n\n- name: run config recipe {{ recipe.name }}\n xostosca:\n port={{ ui_port }}\n username={{ bootstrap_user }}\n password={{ <PASSWORD> }}\n recipe={{ lookup('file', recipe.yaml) }... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 441,
"all_permissive": false
} |
ansible_role | opencord/service-profile | 96f17e9906fb2918477b495267827a4034881d3e | 3 | cord-pod-ansible/roles/download_images | 268 | [
"no_license"
] | [
{
"path": "cord-pod-ansible/roles/download_images/defaults/main.yml",
"content": "---\n\nimage_temp_dir: \"{{ config_dir }}/images_staging\"\nimage_dest_dir: \"{{ config_dir }}/images\"\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 97
},
{
"path": "cord-pod-ans... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 866,
"all_permissive": false
} |
ansible_role | opencord/service-profile | 96f17e9906fb2918477b495267827a4034881d3e | 3 | cord-pod-ansible/roles/local_containers | 268 | [
"no_license"
] | [
{
"path": "cord-pod-ansible/roles/local_containers/tasks/main.yml",
"content": "---\n\n- name: build local containers\n shell: make -f {{ config_dir }}/../common/Makefile.containers update_certs xos_base xos_devel synchronizer onboarding_synchronizer\n",
"license_type": "no_license",
"detected_lice... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 169,
"all_permissive": false
} |
ansible_role | opencord/service-profile | 96f17e9906fb2918477b495267827a4034881d3e | 3 | cord-pod-ansible/roles/local_environment | 268 | [
"no_license"
] | [
{
"path": "cord-pod-ansible/roles/local_environment/tasks/main.yml",
"content": "---\n- name: create key_import directory\n file: \n name=key_import \n state=directory\n\n- name: create onboarding-docker-compose directory\n file:\n name=onboarding-docker-compose\n state=directory\n\n- ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1344,
"all_permissive": false
} |
ansible_role | opencord/service-profile | 96f17e9906fb2918477b495267827a4034881d3e | 3 | cord-pod-ansible/roles/onboarding | 268 | [
"no_license"
] | [
{
"path": "cord-pod-ansible/roles/onboarding/defaults/main.yml",
"content": "---\n\ndisable_onboarding_tosca_yml: \"{{ config_dir }}/../common/disable-onboarding.yaml\"\nenable_onboarding_tosca_yml: \"{{ config_dir }}/../common/enable-onboarding.yaml\"\n\n# onboard_services: \n",
"license_type": "no_lic... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2403,
"all_permissive": false
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.