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 | takamario/ansible_template | 1709f4481d4676a54df88914433708b4bc986e1d | 1 | roles/jenkins | 393 | [
"no_license"
] | [
{
"path": "roles/jenkins/tasks/main.yml",
"content": "- name: Download jenkins repo in CentOS\n when: ansible_distribution == \"CentOS\"\n tags: jenkins\n become: true\n get_url: url={{ jenkins_repo_url }} dest=/etc/yum.repos.d/jenkins.repo\n\n- name: Add apt-key\n when: ansible_distribution == \"Ubunt... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 3658,
"all_permissive": false
} |
ansible_role | takamario/ansible_template | 1709f4481d4676a54df88914433708b4bc986e1d | 1 | roles/mysql | 393 | [
"no_license"
] | [
{
"path": "roles/mysql/tasks/main.yml",
"content": "- name: Remove MariaDB\n when: ansible_distribution_major_version|int == 7 and ansible_distribution == \"CentOS\"\n become: true\n tags: mysql\n yum: name={{ item }} state=absent\n with_items: mariadb_packages\n\n- name: Install MySQL repo via yum\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1422,
"all_permissive": false
} |
ansible_role | takamario/ansible_template | 1709f4481d4676a54df88914433708b4bc986e1d | 1 | roles/nginx | 393 | [
"no_license"
] | [
{
"path": "roles/nginx/vars/main.yml",
"content": "nginx_dependencies:\n - pcre-devel\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 35
},
{
"path": "roles/nginx/tasks/main.yml",
"content": "- name: Install nginx repo with RPM\n when: ansible_distribution ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 984,
"all_permissive": false
} |
ansible_role | takamario/ansible_template | 1709f4481d4676a54df88914433708b4bc986e1d | 1 | roles/nvm | 393 | [
"no_license"
] | [
{
"path": "roles/nvm/tasks/main.yml",
"content": "- name: Check nvm installed in Local\n tags: nvm\n shell: test -d ~/.nvm ; echo $?\n register: nvm_installed\n ignore_errors: true\n\n- name: Install nvm in Local\n when: nvm_installed.stdout == '1'\n tags: nvm\n git:\n repo: \"{{ nvm_repo_url }}\"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1511,
"all_permissive": false
} |
ansible_role | takamario/ansible_template | 1709f4481d4676a54df88914433708b4bc986e1d | 1 | roles/pyenv | 393 | [
"no_license"
] | [
{
"path": "roles/pyenv/vars/main.yml",
"content": "pyenv_repo_url: https://github.com/yyuu/pyenv.git\n\nversions:\n - 2.7.9\n\ndefault_version: 2.7.9\n\npip_installer_url: https://bootstrap.pypa.io/get-pip.py\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 152
},
{
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2250,
"all_permissive": false
} |
ansible_role | takamario/ansible_template | 1709f4481d4676a54df88914433708b4bc986e1d | 1 | roles/rbenv | 393 | [
"no_license"
] | [
{
"path": "roles/rbenv/tasks/main.yml",
"content": "- name: Put gemrc to /etc\n become: true\n tags: rbenv\n copy:\n src: gemrc\n dest: \"/etc/gemrc\"\n\n- name: Install rbenv in Local\n tags: rbenv\n git:\n repo: \"{{ rbenv_repo_url }}\"\n dest: \"~/.rbenv\"\n\n- name: Add rbenv path in Ce... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2631,
"all_permissive": false
} |
ansible_role | takamario/ansible_template | 1709f4481d4676a54df88914433708b4bc986e1d | 1 | roles/redis | 393 | [
"no_license"
] | [
{
"path": "roles/redis/tasks/main.yml",
"content": "- name: Install Redis Repo with RPM\n when: ansible_distribution == \"CentOS\"\n tags: redis\n become: true\n yum: name={{ epel_repo_url }} state=present\n\n- name: Install Redis via yum\n when: ansible_distribution == \"CentOS\"\n tags: redis\n bec... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 749,
"all_permissive": false
} |
ansible_role | takamario/ansible_template | 1709f4481d4676a54df88914433708b4bc986e1d | 1 | roles/tomcat | 393 | [
"no_license"
] | [
{
"path": "roles/tomcat/tasks/main.yml",
"content": "- name: Downloads tomcat source\n tags: tomcat\n get_url: url={{ tomcat_tar_gz_url }} dest=/tmp/tomcat.tar.gz\n\n- name: Create tomcat dir\n tags: tomcat\n become: true\n file: path=/usr/local/apache-tomcat state=directory\n\n- name: Extract tomcat.t... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1859,
"all_permissive": false
} |
ansible_role | rakesh-narayanadasu/automation-with-ansible-roles | eb28f7b530591b573d8daf56dda36c3a471d8b49 | 0 | roles/cart | 393 | [
"no_license"
] | [
{
"path": "roles/cart/tasks/main.yml",
"content": "- name: app setup\n ansible.builtin.import_role:\n name: common\n tasks_from: app-setup\n\n- name: nodejs setup\n ansible.builtin.import_role:\n name: common\n tasks_from: nodejs-setup\n\n- name: service file setup\n ansible.builtin.import_ro... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 296,
"all_permissive": false
} |
ansible_role | rakesh-narayanadasu/automation-with-ansible-roles | eb28f7b530591b573d8daf56dda36c3a471d8b49 | 0 | roles/catalogue | 393 | [
"no_license"
] | [
{
"path": "roles/catalogue/tasks/main.yml",
"content": "- name: app setup\n ansible.builtin.import_role:\n name: common\n tasks_from: app-setup\n\n- name: nodejs setup\n ansible.builtin.import_role:\n name: common\n tasks_from: nodejs-setup\n\n- name: mongodb client setup\n ansible.builtin.im... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 405,
"all_permissive": false
} |
ansible_role | rakesh-narayanadasu/automation-with-ansible-roles | eb28f7b530591b573d8daf56dda36c3a471d8b49 | 0 | roles/common | 393 | [
"no_license"
] | [
{
"path": "roles/common/tasks/mongodb-setup.yml",
"content": "- name: Copy mongodb client\n ansible.builtin.copy:\n src: mongodb.repo\n dest: /etc/yum.repos.d/mongodb.repo\n\n- name: Install mongodb client\n ansible.builtin.package:\n name: mongodb-org-shell\n state: present\n\n- name: Get cat... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1867,
"all_permissive": false
} |
ansible_role | rakesh-narayanadasu/automation-with-ansible-roles | eb28f7b530591b573d8daf56dda36c3a471d8b49 | 0 | roles/dispatch | 393 | [
"no_license"
] | [
{
"path": "roles/dispatch/templates/dispatch.service.j2",
"content": "[Unit]\nDescription = Dispatch Service\n[Service]\nUser=roboshop\nEnvironment=AMQP_HOST={{DISPATCH_HOST}}\nEnvironment=AMQP_USER=roboshop\nEnvironment=AMQP_PASS=<PASSWORD>\nExecStart=/app/dispatch\nSyslogIdentifier=dispatch\n\n[Install]\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 549,
"all_permissive": false
} |
ansible_role | rakesh-narayanadasu/automation-with-ansible-roles | eb28f7b530591b573d8daf56dda36c3a471d8b49 | 0 | roles/payment | 393 | [
"no_license"
] | [
{
"path": "roles/payment/tasks/main.yml",
"content": "- name: app setup\n ansible.builtin.import_role:\n name: common\n tasks_from: app-setup\n\n- name: python setup\n ansible.builtin.import_role:\n name: common\n tasks_from: python-setup\n\n- name: service file setup\n ansible.builtin.import... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 296,
"all_permissive": false
} |
ansible_role | rakesh-narayanadasu/automation-with-ansible-roles | eb28f7b530591b573d8daf56dda36c3a471d8b49 | 0 | roles/rabbitmq | 393 | [
"no_license"
] | [
{
"path": "roles/rabbitmq/tasks/main.yml",
"content": "- name: Configure erlang repos\n ansible.builtin.shell: curl -s https://packagecloud.io/install/repositories/rabbitmq/erlang/script.rpm.sh | bash\n\n- name: Configure rabbitmq repos\n ansible.builtin.shell: curl -s https://packagecloud.io/install/repo... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 750,
"all_permissive": false
} |
ansible_role | rakesh-narayanadasu/automation-with-ansible-roles | eb28f7b530591b573d8daf56dda36c3a471d8b49 | 0 | roles/shipping | 393 | [
"no_license"
] | [
{
"path": "roles/shipping/tasks/main.yml",
"content": "- name: app setup\n ansible.builtin.import_role:\n name: common\n tasks_from: app-setup\n\n- name: java setup\n ansible.builtin.import_role:\n name: common\n tasks_from: java-setup\n\n- name: load schema sql setup\n ansible.builtin.import... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 399,
"all_permissive": false
} |
ansible_role | rakesh-narayanadasu/automation-with-ansible-roles | eb28f7b530591b573d8daf56dda36c3a471d8b49 | 0 | roles/web | 393 | [
"no_license"
] | [
{
"path": "roles/web/tasks/main.yml",
"content": "- name: Install nginx\n ansible.builtin.package:\n name: nginx\n state: present\n\n- name: Remove default web content\n ansible.builtin.file:\n path: /usr/share/nginx/html/*\n state: absent\n\n- name: Download web application\n ansible.builtin... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 749,
"all_permissive": false
} |
ansible_role | dbrugger946/retail-edge-ai-appdev-lab | 810e5c1f3caf22dedf931d30a656d79d9dee7a05 | 0 | ansible/roles/install | 393 | [
"no_license"
] | [
{
"path": "ansible/roles/install/tasks/main.yaml",
"content": "---\n# Figure out paths\n- name: Get OpenShift Apps Domain\n set_fact:\n route_subdomain: \"{{ query('kubernetes.core.k8s', api_version='config.openshift.io/v1', kind='Ingress', resource_name='cluster') | json_query('[0].spec.appsDomain') }}... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 7886,
"all_permissive": false
} |
ansible_role | dbrugger946/retail-edge-ai-appdev-lab | 810e5c1f3caf22dedf931d30a656d79d9dee7a05 | 0 | ansible/roles/uninstall | 393 | [
"no_license"
] | [
{
"path": "ansible/roles/uninstall/tasks/main.yaml",
"content": "---\n # Implement your Workload deployment tasks here\n # - name: vars\n # set_fact:\n # operators_project: 'workshop-operators'\n # che_project: 'che'\n\n # - name: Uninstall Streams\n # incl... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2210,
"all_permissive": false
} |
ansible_role | gpproton/ansible-collections | ff41ee48de73a8916e496b4a9e4c353978d16506 | 2 | roles/core-dev | 393 | [
"no_license"
] | [
{
"path": "roles/core-dev/tasks/setup-nodejs.yml",
"content": "---\r\n- name: install nvm\r\n ansible.builtin.shell: \"curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash\"\r\n\r\n- name: ensuring nvm Is Installed\r\n ansible.builtin.stat:\r\n path: $HOME/.nvm\r\n register:... | {
"task_files": 8,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 14,
"total_bytes": 8537,
"all_permissive": false
} |
ansible_role | gpproton/ansible-collections | ff41ee48de73a8916e496b4a9e4c353978d16506 | 2 | roles/core-options | 393 | [
"no_license"
] | [
{
"path": "roles/core-options/defaults/main.yml",
"content": "---\n# defaults file for roles/core-options\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 43
},
{
"path": "roles/core-options/tasks/main.yml",
"content": "---\n- name: check OS details\n debug:\... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 6,
"total_bytes": 1013,
"all_permissive": false
} |
ansible_role | gpproton/ansible-collections | ff41ee48de73a8916e496b4a9e4c353978d16506 | 2 | roles/core-packages | 393 | [
"no_license"
] | [
{
"path": "roles/core-packages/tasks/homebrew-setup.yml",
"content": "- name: Ensuring Homebrew Is Installed\n ansible.builtin.stat:\n path: /usr/local/bin/brew\n register: homebrew_check\n\n- name: Installing Homebrew\n become: false\n ansible.builtin.shell: /bin/bash -c \"$(curl -fsSL https://raw.g... | {
"task_files": 7,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 11,
"total_bytes": 4220,
"all_permissive": false
} |
ansible_role | gpproton/ansible-collections | ff41ee48de73a8916e496b4a9e4c353978d16506 | 2 | roles/desktop-ide | 393 | [
"no_license"
] | [
{
"path": "roles/desktop-ide/defaults/main.yml",
"content": "---\n# defaults file for roles/desktop-dev-ide\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 46
},
{
"path": "roles/desktop-ide/handlers/main.yml",
"content": "---\n# handlers file for roles/deskt... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 7,
"total_bytes": 2526,
"all_permissive": false
} |
ansible_role | gpproton/ansible-collections | ff41ee48de73a8916e496b4a9e4c353978d16506 | 2 | roles/desktop-packages | 393 | [
"no_license"
] | [
{
"path": "roles/desktop-packages/tasks/flatpak-essentials.yml",
"content": "---\n- name: install essential utility packages\n ansible.builtin.package:\n name:\n - flatpak\n - gnome-software-plugin-flatpak\n state: present\n\n- name: add flatpak repository to the user installation\n commun... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 2416,
"all_permissive": false
} |
ansible_role | gpproton/ansible-collections | ff41ee48de73a8916e496b4a9e4c353978d16506 | 2 | roles/desktop-tools | 393 | [
"no_license"
] | [
{
"path": "roles/desktop-tools/tasks/fedora-docker.yml",
"content": "---\n- name: remove old docker packages\n ansible.builtin.dnf:\n state: absent\n name:\n - docker\n - docker-client\n - docker-client-latest\n - ocker-common\n - docker-latest\n - docker-latest-logrotat... | {
"task_files": 5,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 10,
"total_bytes": 4907,
"all_permissive": false
} |
ansible_role | gpproton/ansible-collections | ff41ee48de73a8916e496b4a9e4c353978d16506 | 2 | roles/docker | 393 | [
"no_license"
] | [
{
"path": "roles/docker/tasks/docker-swarm-init.yml",
"content": "---\n- name: Check if swarm is already created\n docker_swarm_info:\n nodes: yes\n register: swarm_info\n run_once: true\n ignore_errors: true\n delegate_to: \"{{ groups.docker[0] }}\"\n\n- name: Bootstrap docker swarm\n docker_swarm... | {
"task_files": 5,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 6,
"total_bytes": 3465,
"all_permissive": false
} |
ansible_role | gpproton/ansible-collections | ff41ee48de73a8916e496b4a9e4c353978d16506 | 2 | roles/docker-traefik | 393 | [
"no_license"
] | [
{
"path": "roles/docker-traefik/handlers/main.yml",
"content": "---\n# handlers file for roles/service-traefik\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 46
},
{
"path": "roles/docker-traefik/vars/main.yml",
"content": "---\ntraefik_version: 2.9\n",
... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 8,
"total_bytes": 9207,
"all_permissive": false
} |
ansible_role | gpproton/ansible-collections | ff41ee48de73a8916e496b4a9e4c353978d16506 | 2 | roles/gluster | 393 | [
"no_license"
] | [
{
"path": "roles/gluster/defaults/main.yml",
"content": "---\n# vars file for roles/glusterfs-setup\nfirewall_allowed_tcp_ports:\n - 44925\n # for gluster.\n - 111\n # Port-mapper for Gluster 3.4+.\n # - 2049\n # gluster daemon.\n - 24007\n # 24009+ for gluster <= 3.3; 49152+ for Gluster 3.4+ (one p... | {
"task_files": 4,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 7,
"total_bytes": 4268,
"all_permissive": false
} |
ansible_role | gpproton/ansible-collections | ff41ee48de73a8916e496b4a9e4c353978d16506 | 2 | roles/system | 393 | [
"no_license"
] | [
{
"path": "roles/system/tasks/grub-setup.yml",
"content": "---\r\n- name: check if cgroup memory and swapaccount in kernel\r\n shell: grep GRUB_CMDLINE_LINUX_DEFAULT /etc/default/grub | grep -c \"cgroup_enable=memory swapaccount=1\"\r\n register: cgroup_status\r\n ignore_errors: true\r\n\r\n- name: enabl... | {
"task_files": 6,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 7,
"total_bytes": 4368,
"all_permissive": false
} |
ansible_role | gpproton/ansible-collections | ff41ee48de73a8916e496b4a9e4c353978d16506 | 2 | roles/traccar | 393 | [
"no_license"
] | [
{
"path": "roles/traccar/tasks/deploy.yml",
"content": "---\r\n- name: interpolate docker-compose file\r\n ansible.builtin.template:\r\n src: docker-compose.yaml\r\n dest: \"{{ root_dir.path }}/docker-compose.yaml\"\r\n when:\r\n - inventory_hostname == deployment_node\r\n\r\n- name: deploy {{ se... | {
"task_files": 6,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 13,
"total_bytes": 16694,
"all_permissive": false
} |
ansible_role | gpproton/ansible-collections | ff41ee48de73a8916e496b4a9e4c353978d16506 | 2 | roles/users | 393 | [
"no_license"
] | [
{
"path": "roles/users/defaults/main.yml",
"content": "---\r\n# defaults file for roles/manage-users\r\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 45
},
{
"path": "roles/users/handlers/main.yml",
"content": "---\r\n# handlers file for roles/manage-users\r... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 6,
"total_bytes": 425,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-exam/roles/agama | 393 | [
"no_license"
] | [
{
"path": "ica0002-exam/roles/agama/tasks/main.yaml",
"content": "---\n# LAB 12 Task 5\n\n- name: Creating folder /opt/agama \n file:\n path: /opt/agama\n state: directory\n\n- name: Download agama container file\n get_url:\n url: https://raw.githubusercontent.com/hudolejev/agama/master/Dockerfil... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1499,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-exam/roles/backup | 393 | [
"no_license"
] | [
{
"path": "ica0002-exam/roles/backup/tasks/main.yaml",
"content": "---\n# LAB 10 Task 1\n\n- name: Install 'duplicity'\n apt:\n name: duplicity\n \n- name: Add the user 'backup' and generate keys\n user:\n name: \"{{ backup_user }}\"\n home: /home/backup\n shell: /bin/bash\n generate_ssh_k... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1119,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-exam/roles/bind | 393 | [
"no_license"
] | [
{
"path": "ica0002-exam/roles/bind/handlers/main.yaml",
"content": "---\n# LAB 13\n\n- name: resolve directory\n file:\n path: /run/systemd/resolve\n state: directory\n become: yes\n\n- name: systemd/resolve # Copy resolv.conf.j2 to /run/systemd/resolve/resolv.conf / Upload resolv.conf for docker\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 3537,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-exam/roles/bind_exporter | 393 | [
"no_license"
] | [
{
"path": "ica0002-exam/roles/bind_exporter/tasks/main.yaml",
"content": "---\n# LAB7 Task 2: Install Bind9 exporter\n\n- name: Install 'prometheus-bind-exporter'\n apt:\n name: prometheus-bind-exporter\n\n- name: Ensure Bind9 exporter is started\n service:\n name: prometheus-bind-exporter\n sta... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 254,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-exam/roles/debug | 393 | [
"no_license"
] | [
{
"path": "ica0002-exam/roles/debug/handlers/main.yaml",
"content": "---\n\n- name: Restart prometheus-mysqld-exporter\n service:\n name: prometheus-mysqld-exporter\n state: restarted\n enabled: yes\n\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 135
},
{... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 417,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-exam/roles/grafana | 393 | [
"no_license"
] | [
{
"path": "ica0002-exam/roles/grafana/tasks/main_apt.yaml",
"content": "---\n# LAB 7 Task 4: Install Grafana\n\n- name: Add grafana gpg key\n apt_key: \n url: https://packages.grafana.com/gpg.key\n \n- name: Add grafana repo\n apt_repository:\n repo: deb https://packages.grafana.com/oss/deb stable ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 2884,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-exam/roles/influxdb_backup | 393 | [
"no_license"
] | [
{
"path": "ica0002-exam/roles/influxdb_backup/templates/influxdb-backup.j2",
"content": "1 23 * * * backup ssh {{ backup_ssh }} mkdir influxdb\n\n15 23 * * * backup rm -rf /home/backup/influxdb/*; influxd backup -portable -database telegraf /home/backup/influxdb\n\n20 23 * * 0 backup duplicity --no-encrypti... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1164,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-exam/roles/influxdb_exporter | 393 | [
"no_license"
] | [
{
"path": "ica0002-exam/roles/influxdb_exporter/tasks/main.yaml",
"content": "---\n# LAB 8 Task 7: Add InfluxDB monitoring\n\n- name: Download 'influxdb-stats-exporter' to /usr/local/bin/influx_stats_exporter_linux_amd64\n get_url:\n url: https://github.com/carlpett/influxdb_stats_exporter/releases/down... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1114,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-exam/roles/init | 393 | [
"no_license"
] | [
{
"path": "ica0002-exam/roles/init/tasks/main.yaml",
"content": "---\n\n#- name: Set a hostname specifying strategy\n# ansible.builtin.hostname:\n# name: bematv-1\n# when: inventory hostname == vm1 \n\n#- name: Set a hostname specifying strategy\n# ansible.builtin.hostname:\n# name: bematv-2\n# wh... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 731,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-exam/roles/keepalived_exporter | 393 | [
"no_license"
] | [
{
"path": "ica0002-exam/roles/keepalived_exporter/tasks/main.yaml",
"content": "---\n# LAB 13 Task 5. Add Keepalived monitoring\n\n- name: Download keepalived exporter to /usr/local/bin/\n unarchive:\n src: https://github.com/cafebazaar/keepalived-exporter/releases/download/v1.2.0/keepalived-exporter-1.... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1009,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-exam/roles/mysql | 393 | [
"no_license"
] | [
{
"path": "ica0002-exam/roles/mysql/tasks/main.yaml",
"content": "---\n# LAB 4 Task 4: Install MySQL server\n\n- name: Install 'mysql-server'\n apt:\n name: mysql-server\n notify: Restart mysql\n\n\n## LAB 4 Task 7: Add MySQL database\n\n- name: Install 'python3-mysql'\n apt:\n name: python3-pymysq... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1675,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-exam/roles/mysql_backup | 393 | [
"no_license"
] | [
{
"path": "ica0002-exam/roles/mysql_backup/tasks/main.yaml",
"content": "---\n# LAB 10 Task 1\n\n- name: Create the backup directory for mysql / /home/backup/mysql\n file:\n path: /home/backup/mysql\n state: directory\n owner: \"{{ backup_user }}\"\n group: \"{{ backup_user }}\"\n mode: 075... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1735,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-exam/roles/nginx | 393 | [
"no_license"
] | [
{
"path": "ica0002-exam/roles/nginx/tasks/main.yaml",
"content": "---\n# LAB 2 Task 3: Create an Ansible role named nginx\n\n- name: Install 'nginx'\n apt:\n name: nginx\n\n\n# LAB 2 Task 3: Create an Ansible role named nginx\n\n- name: Copy index.html to /var/www/html/index.html Replace the default HTM... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 755,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-exam/roles/pinger | 393 | [
"no_license"
] | [
{
"path": "ica0002-exam/roles/pinger/tasks/main.yaml",
"content": "---\n# LAB 8 Task 2: Create pinger service on one of VMs\n\n- name: Add user pinger\n user:\n name: \"{{ pinger_user }}\"\n \n- name: Install 'fping'\n apt:\n name: fping\n\n- name: Copy pinger.sh.j2 template into /usr/local/bin/pin... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1098,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-exam/roles/prometheus | 393 | [
"no_license"
] | [
{
"path": "ica0002-exam/roles/prometheus/tasks/main.yaml",
"content": "\n---\n# LAB 6 Task 2: Install and configure Prometheus\n\n- name: Install 'prometheus'\n apt:\n name: prometheus\n\n\n# LAB 6 Task 3: Make Prometheus and Node Exporters available from outside\n\n- name: Copy prometheus.yml.j2 to /et... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 710,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-exam/roles/resolver | 393 | [
"no_license"
] | [
{
"path": "ica0002-exam/roles/resolver/templates/resolv.conf_apt.j2",
"content": "search {{ domain }}\n{% for vm in groups[\"dns_masters\"] %}\nnameserver {{ hostvars[vm]['ansible_default_ipv4']['address'] }}\n{% endfor %}\n{% for vm in groups[\"dns_slaves\"] %}\nnameserver {{ hostvars[vm]['ansible_default_... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 802,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-exam/roles/uwsgi | 393 | [
"no_license"
] | [
{
"path": "ica0002-exam/roles/uwsgi/tasks/main.yaml",
"content": "---\n# LAB 3 Task 2 - uWSGI\n\n- name: Install 'uwsgi'\n apt:\n name: uwsgi\n #state: latest\n #update_cache: yes //LAB 4 Task 3: Add the init role\n\n- name: Install 'uwsgi-plugin-python3'\n apt:\n name: uwsgi-plugin-python3\n\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 333,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab10/roles/backup | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab10/roles/backup/tasks/main.yaml",
"content": "# LAB 10 Task 1\n\n- name: Install duplicity\n apt:\n name: duplicity\n\n- name: Add the user \"backup\" and generate keys\n user:\n name: \"{{ backup_user }}\"\n home: /home/backup\n shell: /bin/bash\n generate_ssh_key: ye... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1055,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab10/roles/influxdb | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab10/roles/influxdb/tasks/main.yaml",
"content": "# LAB 8 Task 1: Install InfluxDB\n\n- name: Add influx and telegraf key\n apt_key:\n url: https://repos.influxdata.com/influxdb.key\n\n- name: Add influx and telegraf repository into sources list\n apt_repository:\n repo: deb http... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1277,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab10/roles/influxdb_backup | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab10/roles/influxdb_backup/tasks/main.yaml",
"content": "# LAB 10 Task 1\n\n- name: Create the backup directory for influxdb\n file:\n path: /home/backup/influxdb\n state: directory\n mode: 0744\n owner: \"{{ backup_user }}\"\n group: influxdb\n\n\n# LAB 10 Task 6\n\n- na... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 756,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab10/roles/influxdb_exporter | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab10/roles/influxdb_exporter/tasks/main.yaml",
"content": "# LAB 8 Task 7: Add InfluxDB monitoring\n\n- name: Download 'influxdb-stats-exporter'\n get_url:\n url: https://github.com/carlpett/influxdb_stats_exporter/releases/download/v0.1.1/influx_stats_exporter_linux_amd64\n dest:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 908,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab10/roles/mysql_backup | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab10/roles/mysql_backup/tasks/main.yaml",
"content": "# LAB 10 Task 1\n\n- name: Create the backup directory for mysql\n file:\n path: /home/backup/mysql\n state: directory\n mode: 0744\n owner: \"{{ backup_user }}\"\n group: mysql\n\n\n# LAB 10 Task 2\n\n- name: Create M... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1125,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab10/roles/mysql_exporter | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab10/roles/mysql_exporter/tasks/main.yaml",
"content": "# LAB 7 Task 1: Install MySQL exporter\n\n- name: Install 'prometheus-mysqld-exporter'\n apt:\n name: prometheus-mysqld-exporter\n\n- name: Create directory\n file:\n path: /var/lib/prometheus\n state: directory\n\n- name... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1123,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab10/roles/pinger | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab10/roles/pinger/tasks/main.yaml",
"content": "# LAB 8 Task 2: Create pinger service on one of VMs\n\n- name: Add user pinger\n user:\n name: \"{{ pinger_user }}\"\n \n- name: Install 'fping'\n apt:\n name: fping\n\n- name: Copy pinger.sh.j2 template into /usr/local/bin/pinger\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 971,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab10/roles/rsyslog | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab10/roles/rsyslog/tasks/main.yaml",
"content": "# LAB 8 Task 5: Setup rsyslog\n\n- name: Install Rsyslog\n apt:\n name: rsyslog\n state: latest\n\n- name: Reconfigure Rsyslog\n template:\n src: 50-telegraf.conf.j2\n dest: /etc/rsyslog.d/50-telegraf.conf\n notify: Restart ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 323,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab11/roles/backup | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab11/roles/backup/tasks/main.yaml",
"content": "# LAB 10 Task 1\n\n- name: Install duplicity\n apt:\n name: duplicity\n\n- name: Add the user \"backup\" and generate keys\n user:\n name: \"{{ backup_user }}\"\n home: /home/backup\n shell: /bin/bash\n generate_ssh_key: ye... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1085,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab11/roles/influxdb_backup | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab11/roles/influxdb_backup/tasks/main.yaml",
"content": "# LAB 10 Task 1\n\n- name: Create the backup directory for influxdb\n file:\n path: /home/backup/influxdb\n state: directory\n mode: 0660\n owner: \"{{ backup_user }}\"\n group: influxdb\n\n\n# LAB 10 Task 6\n\n- na... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 756,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab12/roles/agama | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab12/roles/agama/tasks/main.yaml",
"content": "# LAB 12 Task 5\n\n- name: Creating folder /opt/agama \n file:\n path: /opt/agama\n state: directory\n\n- name: Download agama container file\n get_url:\n url: https://raw.githubusercontent.com/hudolejev/agama/master/Dockerfile\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 668,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab12/roles/docker | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab12/roles/docker/tasks/main.yaml",
"content": "# LAB 12 Task 1\n- name: Install docker.io and python3-docker\n apt:\n name:\n - python3-docker\n - docker.io\n\n- name: Ensure docker is running\n service:\n name: docker\n state: started\n enabled: true\n",
"li... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 218,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab12/roles/grafana | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab12/roles/grafana/tasks/main.yaml",
"content": "# LAB 12 Task 2\n\n- name: Create two necessary directories for grafana\n file:\n path: '{{ item }}'\n recurse: yes\n state: directory\n loop:\n - /opt/grafana/provisioning/dashboards\n - /opt/grafana/provisioning/datasour... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1147,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab12/roles/influxdb_backup | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab12/roles/influxdb_backup/tasks/main.yaml",
"content": "# LAB 10 Task 1\n\n- name: Create the backup directory for influxdb\n file:\n path: /home/backup/influxdb\n state: directory\n mode: 0700\n owner: \"{{ backup_user }}\"\n group: influxdb\n\n\n# LAB 10 Task 6\n\n- na... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 403,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab12/roles/mysql | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab12/roles/mysql/tasks/main.yaml",
"content": "# LAB 4 Task 4: Install MySQL server\n\n- name: Install 'mysql-server'\n apt:\n name: mysql-server\n #update_cache: yes\n notify: Restart mysql ## why? but needed\n\n\n## LAB 4 Task 7: Add MySQL database\n\n- name: Install 'python3-m... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2011,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab13/roles/bind | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab13/roles/bind/tasks/main.yaml",
"content": "---\n# LAB 5 Task 2: Install Bind9 on vm2\n\n- name: Install 'bind9'\n apt:\n name: bind9\n\n\n## Task 3: Configure DNS forwarders\n## Task 4: Configure access rules for DNS server\n\n- name: Upload named.conf.options.j2 to /etc/bind/name... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1395,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab13/roles/bind_exporter | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab13/roles/bind_exporter/tasks/main.yaml",
"content": "---\n# LAB7 Task 2: Install Bind9 exporter\n\n- name: Install 'prometheus-bind-exporter'\n apt:\n name: prometheus-bind-exporter\n\n- name: Ensure Bind9 exporter is running\n service:\n name: prometheus-bind-exporter\n st... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 362,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab13/roles/init | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab13/roles/init/tasks/main.yaml",
"content": "---\n\n# LAB 4 Task 3: Add the init role\n- name: Update APT cache\n apt:\n cache_valid_time: 86400\n\n# LAB 7 demo task\n- name: Get hostname\n hostname:\n name: \"{{ inventory_hostname }}\"\n\n# Gather information test\n- name: Gath... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 424,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab13/roles/keepalived | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab13/roles/keepalived/tasks/main.yaml",
"content": "---\n# LAB 13 Task 2. Install Keepalived\n- name: Install keepalived\n apt:\n name:\n - keepalived\n\n- name: Copy keepalived conf\n template:\n src: keepalived.conf.j2\n dest: /etc/keepalived/keepalived.conf\n notify: ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 445,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab13/roles/nginx | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab13/roles/nginx/handlers/main.yaml",
"content": "---\n# LAB 3 Task 3: Nginx as uWSGI frontend\n\n- name: Restart nginx\n service:\n name: nginx\n state: restarted",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 114
},
{
"path": "ica0002-... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1131,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab13/roles/nginx_exporter | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab13/roles/nginx_exporter/tasks/main.yaml",
"content": "---\n# LAB 7 Task 3: Install Nginx exporter\n\n- name: Install 'prometheus-nginx-exporter'\n apt:\n name: prometheus-nginx-exporter\n\n- name: Copy exporter to /etc/nginx/sites-enabled/exporter / listen to stub status\n templat... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 798,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab13/roles/rsyslog | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab13/roles/rsyslog/tasks/main.yaml",
"content": "---\n# LAB 8 Task 5: Setup rsyslog\n\n- name: Install 'rsyslog'\n apt:\n name: rsyslog\n #state: latest\n\n- name: Copy 50-telegraf.conf.j2 to /etc/rsyslog.d/50-telegraf.conf / Reconfigure Rsyslog\n template:\n src: 50-telegraf.... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 404,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab13/roles/test_connection | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab13/roles/test_connection/tasks/main.yaml",
"content": "---\n# LAB 1\n\n- name: Ansible ping module\n ansible.builtin.ping:\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 65
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 65,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab14/roles/agama | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab14/roles/agama/tasks/main.yaml",
"content": "---\n# LAB 12 Task 5\n\n#- name: Resolver2\n# template: \n# src: resolv.conf2.j2\n# dest: /etc/resolv.conf\n# notify: Resolver1\n# when: inventory_hostname == vm2\n\n- name: Creating folder /opt/agama \n file:\n path: /opt/agama... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 2082,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab14/roles/backup | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab14/roles/backup/tasks/main.yaml",
"content": "---\n# LAB 10 Task 1\n\n- name: Install 'duplicity'\n apt:\n name: duplicity\n\n- name: Add the user 'backup' and generate keys\n user:\n name: \"{{ backup_user }}\"\n home: /home/backup\n shell: /bin/bash\n generate_ssh_ke... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1165,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab14/roles/bind | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab14/roles/bind/tasks/main.yaml",
"content": "---\n# LAB 5 Task 2: Install Bind9 on vm2\n\n- name: Install 'bind9'\n apt:\n name: bind9\n\n# LAB 14\n- name: Install 'python3-dnspython'\n apt:\n name: python3-dnspython\n\n\n## Task 5: Configure master zone\n- name: Upload db.pho.j... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 3147,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab14/roles/docker | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab14/roles/docker/tasks/main.yaml",
"content": "---\n# LAB 12 Task 1\n- name: Install 'python3-docker'\n apt:\n name:\n - python3-docker\n \n- name: Install 'docker.io'\n apt:\n name:\n - docker.io\n\n- name: Ensure docker is running\n service:\n name: docker\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 262,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab14/roles/init | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab14/roles/init/tasks/main.yaml",
"content": "---\n\n#- name: Set a hostname specifying strategy\n# ansible.builtin.hostname:\n# name: bematv-1 \n\n#- name: Set a hostname specifying strategy\n# ansible.builtin.hostname:\n# name: bematv-2\n\n# LAB 4 Task 3: Add the init role\n- n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 613,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab14/roles/iptables | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab14/roles/iptables/tasks/main.yaml",
"content": "---\n- name: Fix ssl handshake for docker\n template:\n src: iptables.mangle.j2\n dest: /var/local/iptables.mangle\n\n- name: Load iptable-mangle config\n community.general.iptables_state:\n path: /var/local/iptables.mangle\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 265,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab14/roles/keepalived | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab14/roles/keepalived/tasks/main.yaml",
"content": "---\n# LAB 13 Task 2. Install Keepalived\n- name: Install 'keepalived'\n apt:\n name:\n - keepalived\n\n- name: Copy keepalived.conf to /etc/keepalived/keepalived.conf\n template:\n src: keepalived.conf.j2\n dest: /etc/k... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1408,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab14/roles/mysql_backup | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab14/roles/mysql_backup/tasks/main.yaml",
"content": "---\n# LAB 10 Task 1\n\n- name: Create the backup directory for mysql / /home/backup/mysql\n file:\n path: /home/backup/mysql\n state: directory\n mode: 0700\n owner: \"{{ backup_user }}\"\n group: mysql\n\n\n# LAB 10... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 985,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab14/roles/mysql_exporter | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab14/roles/mysql_exporter/tasks/main.yaml",
"content": "---\n# LAB 7 Task 1: Install MySQL exporter\n\n- name: Install 'prometheus-mysqld-exporter'\n apt:\n name: prometheus-mysqld-exporter\n\n- name: Create directory for prometheus / /var/lib/prometheus\n file:\n path: /var/lib/... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1414,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab2/roles/nginx | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab2/roles/nginx/tasks/main.yaml",
"content": "# LAB 2 Task 3: Create an Ansible role named nginx\n\n- name: Install 'nginx'\n apt:\n name: nginx\n state: latest\n update_cache: yes\n\n\n# LAB 2 Task 3: Create an Ansible role named nginx\n\n- name: Replace the default HTML page\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 300,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab3/roles/agama | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab3/roles/agama/tasks/main.yaml",
"content": "# LAB 3 Task 1: AGAMA the application\n\n- name: Add the user 'agama'\n user:\n name: agama\n system: yes\n state: present\n\n- name: Create install directory /opt/agama\n file:\n state: directory\n path: /opt/agama\n owne... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 540,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab3/roles/uwsgi | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab3/roles/uwsgi/files/agama.ini",
"content": "# LAB3 Task 2: uWSGI\n\n[uwsgi]\nchdir = /opt/agama\nmodule = agama:app\nenv = AGAMA_DATABASE_URI=sqlite:////opt/agama/db.sqlite3\nplugins = python3\nsocket = localhost:5000\nuid = agama",
"license_type": "no_license",
"detected_licen... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 613,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab4/roles/mysql | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab4/roles/mysql/tasks/main.yaml",
"content": "# LAB 4 Task 4: Install MySQL server\n\n- name: Install 'mysql-server'\n apt:\n name: mysql-server\n #update_cache: yes\n notify: Restart mysql\n\n\n## LAB 4 Task 5: Configure MySQL server\n\n- name: Copy the mysql config file and res... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1027,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab5/roles/init | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab5/roles/init/tasks/main.yaml",
"content": "# LAB 4 Task 3: Add the init role\n- name: Update APT cache\n apt:\n cache_valid_time: 86400",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 93
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 93,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab6/roles/bind | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab6/roles/bind/tasks/main.yaml",
"content": "# LAB 5 Task 2: Install Bind9 on vm2\n\n- name: Install 'bind9'\n apt:\n name: bind9\n\n- name: Ensure bind9 is running\n ansible.builtin.service:\n name: bind9\n state: started\n\n\n## Task 3: Configure DNS forwarders\n## Task 4: C... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1168,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab6/roles/nginx | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab6/roles/nginx/tasks/main.yaml",
"content": "# LAB 2 Task 3: Create an Ansible role named nginx\n\n- name: Install 'nginx'\n apt:\n name: nginx\n #state: latest\n #update_cache: yes //LAB 4 Task 3: Add the init role\n\n\n# LAB 2 Task 3: Create an Ansible role named nginx\n\n- ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1274,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab6/roles/node_exporter | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab6/roles/node_exporter/tasks/main.yaml",
"content": "# LAB 6 Task 1: Install Node Exporters\n\n\n- name: Install 'prometheus-node-exporter'\n apt:\n name: prometheus-node-exporter",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 125
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 125,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab6/roles/prometheus | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab6/roles/prometheus/tasks/main.yaml",
"content": "# LAB 6 Task 2: Install and configure Prometheus\n\n- name: Install 'prometheus'\n apt:\n name: prometheus\n\n\n # LAB 6 Task 3: Make Prometheus and Node Exporters available from outside\n\n- name: Copy prometheus.yml.j2 template\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1071,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab7/roles/mysql | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab7/roles/mysql/tasks/main.yaml",
"content": "# LAB 4 Task 4: Install MySQL server\n\n- name: Install 'mysql-server'\n apt:\n name: mysql-server\n #update_cache: yes\n notify: Restart mysql ## why? but needed\n\n\n## LAB 4 Task 7: Add MySQL database\n\n- name: Install 'python3-my... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1456,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab7/roles/nginx_exporter | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab7/roles/nginx_exporter/tasks/main.yaml",
"content": "# LAB 7 Task 3: Install Nginx exporter\n\n- name: Install 'prometheus-nginx-exporter'\n apt:\n name: prometheus-nginx-exporter\n\n- name: Copy exporter to /etc/nginx/sites-enabled/exporter\n template:\n src: exporter\n des... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 746,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab7/roles/uwsgi | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab7/roles/uwsgi/tasks/main.yaml",
"content": "# LAB 3 Task 2 - uWSGI\n\n- name: Install 'uwsgi'\n apt:\n name: uwsgi\n #state: latest\n #update_cache: yes //LAB 4 Task 3: Add the init role\n\n- name: Install 'uwsgi-plugin-python3'\n apt:\n name: uwsgi-plugin-python3\n #s... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 752,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab8/roles/init | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab8/roles/init/tasks/main.yaml",
"content": "# LAB 4 Task 3: Add the init role\n- name: Update APT cache\n apt:\n cache_valid_time: 86400\n\n# LAB 7 demo task\n- name: hostname\n hostname:\n name: \"{{ inventory_hostname }}\"\n\n- name: Info+\n debug:\n msg: \n - SSH hos... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 371,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab9/roles/backup | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab9/roles/backup/tasks/main.yaml",
"content": "- name: Add the user \"backup\" and generate keys\n user:\n name: backup\n home: /home/backup\n shell: /bin/bash\n generate_ssh_key: yes\n ssh_key_bits: 2048\n ssh_key_file: .ssh/id_rsa\n #password: \"{{ <PASSWORD> }}\"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 229,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab9/roles/bind | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab9/roles/bind/tasks/main.yaml",
"content": "# LAB 5 Task 2: Install Bind9 on vm2\n\n- name: Install 'bind9'\n apt:\n name: bind9\n\n\n## Task 3: Configure DNS forwarders\n## Task 4: Configure access rules for DNS server\n\n- name: Update named.conf.options\n template: \n src: na... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1266,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab9/roles/bind_exporter | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab9/roles/bind_exporter/tasks/main.yaml",
"content": "# LAB7 Task 2: Install Bind9 exporter\n\n- name: Install 'prometheus-bind-exporter'\n apt:\n name: prometheus-bind-exporter\n\n- name: Enable Bind9 exporter\n service:\n name: prometheus-bind-exporter\n state: started\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 347,
"all_permissive": false
} |
ansible_role | ca76af37572b61a957c56969b2c4658c/9419d64d2dc77cc087e5a0788b347b59 | 1b1ca99f5e2e3d5c76fa6e8301b5cf754746613b | 0 | ica0002-lab9/roles/resolver | 393 | [
"no_license"
] | [
{
"path": "ica0002-lab9/roles/resolver/tasks/main.yaml",
"content": "- name: Stop service systemd-resolved\n service:\n name: systemd-resolved\n state: stopped\n enabled: no\n\n- name: Update resolv.conf\n template: \n src: resolv.conf.j2\n dest: /etc/resolv.conf\n #notify: rndc reload # n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 255,
"all_permissive": false
} |
ansible_role | trulex/rpi | ef2513647e15b7174e7d4b42829cd78d3cfa6c8e | 1 | ansible/roles/pihole | 393 | [
"no_license"
] | [
{
"path": "ansible/roles/pihole/tasks/main.yml",
"content": "- block:\n - name: Install script for updating pihole gravity\n copy:\n src: scripts/pihole-gravity.sh\n dest: /usr/local/bin/pihole-gravity.sh\n mode: +x\n\n - name: Install service\n copy:\n src: syste... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 707,
"all_permissive": false
} |
ansible_role | trulex/rpi | ef2513647e15b7174e7d4b42829cd78d3cfa6c8e | 1 | ansible/roles/t2-common | 393 | [
"no_license"
] | [
{
"path": "ansible/roles/t2-common/tasks/main.yml",
"content": "- name: Create T-2 directory\n file:\n path: /home/pi/t2-playlist\n state: directory\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 89
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 89,
"all_permissive": false
} |
ansible_role | trulex/rpi | ef2513647e15b7174e7d4b42829cd78d3cfa6c8e | 1 | ansible/roles/t2-epg | 393 | [
"no_license"
] | [
{
"path": "ansible/roles/t2-epg/files/scripts/t2-epg.sh",
"content": "#!/bin/bash\n\ncurl --fail --output /home/pi/t2-playlist/epg.xml.gz http://freeweb.t-2.net/itak/epg.xml.gz\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 105
},
{
"path": "ansible/roles/t2-epg... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 850,
"all_permissive": false
} |
ansible_role | hongxiaolong/ansible-nginx | ba4d7193955d230494950c81557127cabd934438 | 7 | roles/common | 393 | [
"permissive"
] | [
{
"path": "roles/common/defaults/main.yml",
"content": "# account for nginx\nnginx_user: \"nobody\"\nnginx_group: \"nobody\"\nnginx_uid: 77\nnginx_gid: 77\n\n# directories for nginx\nnginx_root_dir: \"/usr/local/nginx\"\nnginx_conf_dir: \"/usr/local/nginx/conf\"\nnginx_confd_dir: \"/usr/local/nginx/conf/con... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 2240,
"all_permissive": true
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.