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 | alwaysmadhu/ansible_fournine | 51ef16706c758614d798a5aacf58f4d0fee57466 | 0 | roles/ssl-cert | 8,041 | [
"no_license"
] | [
{
"path": "roles/ssl-cert/vars/main.yml",
"content": "---\nkey_path: /etc/ssl/private/ansiblerole.key\ncert_path: /etc/ssl/certs/ansiblerole.crt\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 89
},
{
"path": "roles/ssl-cert/tasks/main.yml",
"content": "---\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 512,
"all_permissive": false
} |
ansible_role | alwaysmadhu/ansible_fournine | 51ef16706c758614d798a5aacf58f4d0fee57466 | 0 | roles/virtualhost | 8,041 | [
"no_license"
] | [
{
"path": "roles/virtualhost/tests/test.yml",
"content": "---\n- hosts: localhost\n remote_user: root\n roles:\n - virtualhost\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 70
},
{
"path": "roles/virtualhost/templates/domain2.conf.j2",
"content": " ... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 7,
"total_bytes": 1731,
"all_permissive": false
} |
ansible_role | alwaysmadhu/ansible_fournine | 51ef16706c758614d798a5aacf58f4d0fee57466 | 0 | roles/webpage | 8,041 | [
"no_license"
] | [
{
"path": "roles/webpage/templates/index.html.j2",
"content": "Hello World..! Testing Ansible Role\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 36
},
{
"path": "roles/webpage/tasks/main.yml",
"content": "---\n- name: Apache web page setup\n template:\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 140,
"all_permissive": false
} |
ansible_role | alwaysmadhu/ansible_fournine | 51ef16706c758614d798a5aacf58f4d0fee57466 | 0 | roles/wordpress | 8,041 | [
"no_license"
] | [
{
"path": "roles/wordpress/tasks/main.yml",
"content": "---\n- name: Installing Apache2, Mariadb, PHP\n apt:\n pkg:\n - apache2\n - mariadb-server\n - mariadb-client\n - php\n - php-mysql\n - python3-pymysql\n state: present\n\n- name: Remove Test DB\n mysql_db:\n name: test_db\n stat... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1343,
"all_permissive": false
} |
ansible_role | timrourke/footprints-provision | f3ae667c6982b2dfb28172e7410d3d04d9731107 | 0 | ansible/roles/nginx | 8,041 | [
"no_license"
] | [
{
"path": "ansible/roles/nginx/templates/footprints.j2",
"content": "upstream footprints { server unix:/var/www/footprints/current/tmp/sockets/unicorn.sock fail_timeout=0; }\n\nserver {\n server_name mongoose-footprints.com;\n rewrite ^(.*) http://www.mongoose-footprints.com$1 permanent;\n}\n\nserver {\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 2033,
"all_permissive": false
} |
ansible_role | timrourke/footprints-provision | f3ae667c6982b2dfb28172e7410d3d04d9731107 | 0 | ansible/roles/users | 8,041 | [
"no_license"
] | [
{
"path": "ansible/roles/users/tasks/main.yml",
"content": "---\n# Create users\n\n- name: Make sure we have a 'wheel' group\n group:\n name: wheel\n state: present\n\n- name: Allow 'wheel' group to have passwordless sudo\n lineinfile:\n dest: /etc/sudoers\n state: present\n regexp: '^%whee... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 751,
"all_permissive": false
} |
ansible_role | bit-zyl/Alluxio-Nvdimm | 9edcd60100a54bf76ca4f80420e8b826dd81a0ec | 3 | deploy/vagrant/provision/roles/alluxio | 8,041 | [
"no_license"
] | [
{
"path": "deploy/vagrant/provision/roles/alluxio/tasks/start_mesos_framework.yml",
"content": "- name: start alluxio mesos framework\n command: /alluxio/integration/bin/alluxio-mesos.sh AlluxioMaster:50050\n environment:\n ALLUXIO_UNDERFS_ADDRESS: \"hdfs://AlluxioMaster:9000/\"\n async: 10\n poll: 0... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1118,
"all_permissive": false
} |
ansible_role | ss2333030/COMP90024_assignment_2 | 9a746ea2d37b031ce67be27a18345908daafde70 | 0 | ansible/couchdb/roles/openstack-instance | 8,041 | [
"no_license"
] | [
{
"path": "ansible/couchdb/roles/openstack-instance/tasks/main.yaml",
"content": "---\n- name: Create instances\n openstack.cloud.server:\n name: \"{{ item.name }}\" \n auto_floating_ip: false \n availability_zone: \"{{ availability_zone }}\"\n flavor: \"{{ item.flavor }}\"\n image: \"{{ ima... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1141,
"all_permissive": false
} |
ansible_role | ss2333030/COMP90024_assignment_2 | 9a746ea2d37b031ce67be27a18345908daafde70 | 0 | ansible/couchdb/roles/openstack-security-group | 8,041 | [
"no_license"
] | [
{
"path": "ansible/couchdb/roles/openstack-security-group/tasks/main.yaml",
"content": "---\n- name: Create a security group for database servers\n openstack.cloud.security_group:\n name: \"{{ db_server_security_group.name }}\"\n description: \"{{ db_server_security_group.description }}\"\n state:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 906,
"all_permissive": false
} |
ansible_role | ss2333030/COMP90024_assignment_2 | 9a746ea2d37b031ce67be27a18345908daafde70 | 0 | ansible/couchdb/roles/openstack-volume | 8,041 | [
"no_license"
] | [
{
"path": "ansible/couchdb/roles/openstack-volume/tasks/main.yaml",
"content": "---\n- name: Create volumes\n openstack.cloud.volume:\n display_name: \"{{ item.name }}\"\n size: \"{{ item.size }}\"\n availability_zone: \"{{ availability_zone }}\"\n wait: true\n timeout: 600\n state: prese... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 545,
"all_permissive": false
} |
ansible_role | ss2333030/COMP90024_assignment_2 | 9a746ea2d37b031ce67be27a18345908daafde70 | 0 | ansible/deployment/roles/backend-backend | 8,041 | [
"no_license"
] | [
{
"path": "ansible/deployment/roles/backend-backend/tasks/main.yaml",
"content": "- name: Check if the image already exists\n become: true\n community.docker.docker_image_info:\n name: \"{{ docker_image.name }}\"\n register: image_result\n\n- name: Remove container\n become: true\n community.docker.... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1504,
"all_permissive": false
} |
ansible_role | ss2333030/COMP90024_assignment_2 | 9a746ea2d37b031ce67be27a18345908daafde70 | 0 | ansible/deployment/roles/couchdb-couchdb | 8,041 | [
"no_license"
] | [
{
"path": "ansible/deployment/roles/couchdb-couchdb/tasks/main.yaml",
"content": "---\n- name: Create a docker volume\n become: true\n community.docker.docker_volume:\n name: \"{{ docker_volume.name }}\"\n state: present\n register: volume_result\n\n- name: Print out debugging information\n ansibl... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2962,
"all_permissive": false
} |
ansible_role | ss2333030/COMP90024_assignment_2 | 9a746ea2d37b031ce67be27a18345908daafde70 | 0 | ansible/deployment/roles/mastodon-get-app | 8,041 | [
"no_license"
] | [
{
"path": "ansible/deployment/roles/mastodon-get-app/tasks/main.yaml",
"content": "- name: Checking folders\n become: true\n ansible.builtin.stat:\n path: \"{{ repo_directory }}\"\n register: directory_stats\n\n- name: Remove the old repo\n become: true\n ansible.builtin.file:\n path: \"{{ repo_d... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1195,
"all_permissive": false
} |
ansible_role | ss2333030/COMP90024_assignment_2 | 9a746ea2d37b031ce67be27a18345908daafde70 | 0 | ansible/deployment/roles/openstack-security-group | 8,041 | [
"no_license"
] | [
{
"path": "ansible/deployment/roles/openstack-security-group/tasks/main.yaml",
"content": "---\n- name: Create security groups\n openstack.cloud.security_group:\n name: \"{{ item.name }}\"\n description: \"{{ item.description }}\"\n state: present\n loop: \"{{ security_groups }}\"\n\n- name: Crea... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 884,
"all_permissive": false
} |
ansible_role | ss2333030/COMP90024_assignment_2 | 9a746ea2d37b031ce67be27a18345908daafde70 | 0 | ansible/mastodon/roles/openstack-prep | 8,041 | [
"no_license"
] | [
{
"path": "ansible/mastodon/roles/openstack-prep/tasks/main.yaml",
"content": "---\n# Install dependencies on the host\n- name: Install pip\n become: true\n ansible.builtin.apt:\n name: [\"python3-dev\", \"python3-setuptools\", \"python3-pip\"]\n state: latest\n update_cache: true\n when: ansibl... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 343,
"all_permissive": false
} |
ansible_role | ss2333030/COMP90024_assignment_2 | 9a746ea2d37b031ce67be27a18345908daafde70 | 0 | ansible/mastodon/roles/setup-prep | 8,041 | [
"no_license"
] | [
{
"path": "ansible/mastodon/roles/setup-prep/tasks/main.yaml",
"content": "---\n- name: Gather facts of remote host\n ansible.builtin.setup:\n gather_subset: all\n\n- name: Install dependencies\n become: true\n ansible.builtin.apt:\n name:\n [\n \"e2fsprogs\",\n \"apt-transport-h... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1295,
"all_permissive": false
} |
ansible_role | rigarash/ansible | 26ff42bd4df2668e197abfaeade95a40f5bbdf49 | 0 | roles/apt | 8,041 | [
"no_license"
] | [
{
"path": "roles/apt/handlers/main.yml",
"content": "- name: rebuild locales database\n become: true\n command: \"{{ item }}\"\n with_items:\n - dpkg-reconfigure locales -f noninteractive\n - /usr/sbin/locale-gen\n when:\n - \"ansible_distribution == 'Debian'\"\n",
"license_type": "no_licen... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 6419,
"all_permissive": false
} |
ansible_role | rigarash/ansible | 26ff42bd4df2668e197abfaeade95a40f5bbdf49 | 0 | roles/common | 8,041 | [
"no_license"
] | [
{
"path": "roles/common/tasks/main.yml",
"content": "- name: Setting dotfiles\n block:\n\n - name: clone dotfiles from github\n git:\n repo: 'ssh://git@github.com/rigarash/dotfiles.git'\n dest: '{{ ansible_env.HOME }}/.dotfiles'\n update: yes\n accept_hostkey: yes\n\n - name: check... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 5715,
"all_permissive": false
} |
ansible_role | rigarash/ansible | 26ff42bd4df2668e197abfaeade95a40f5bbdf49 | 0 | roles/programming | 8,041 | [
"no_license"
] | [
{
"path": "roles/programming/tasks/main.yml",
"content": "- name: Setting up packages for Debian\n block:\n\n - name: install common packages\n apt:\n name: \"{{ packages }}\"\n state: latest\n vars:\n packages:\n - build-essential\n - gdb\n - lldb\n\n - name: install ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2948,
"all_permissive": false
} |
ansible_role | rigarash/ansible | 26ff42bd4df2668e197abfaeade95a40f5bbdf49 | 0 | roles/texlive | 8,041 | [
"no_license"
] | [
{
"path": "roles/texlive/tasks/main.yml",
"content": "- name: Install latest TeXLive\n block:\n\n - name: Install TeXLive packages\n apt:\n name: \"{{ packages }}\"\n state: latest\n vars:\n packages:\n - texlive\n - texlive-latex-base-doc\n - texlive-latex-recommended-... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 418,
"all_permissive": false
} |
ansible_role | rigarash/ansible | 26ff42bd4df2668e197abfaeade95a40f5bbdf49 | 0 | roles/win | 8,041 | [
"no_license"
] | [
{
"path": "roles/win/tasks/main.yml",
"content": "- name: Install packages by Chocolatey\n win_chocolatey:\n name: '{{ packages }}'\n state: latest\n vars:\n packages:\n - 7zip\n - firefox\n #- googlechrome\n - sysinternals\n - google-backup-and-sync\n - vcxsrv\n #- gpg4win\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 511,
"all_permissive": false
} |
ansible_role | rigarash/ansible | 26ff42bd4df2668e197abfaeade95a40f5bbdf49 | 0 | roles/wsl | 8,041 | [
"no_license"
] | [
{
"path": "roles/wsl/templates/wsl.conf.j2",
"content": "# Enable extra metadata options by default\n[automount]\nenabled = true\nroot = /mnt/\noptions = \"metadata,umask=22,uid=1000,gid=1000\"\nmountFsTab = false\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 150
},
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 5035,
"all_permissive": false
} |
ansible_role | MIsazaB95-zz/Ramup_nodejs_Infra | cdc7b37f82c69714ba7783e34f802ca7444cbc6a | 0 | roles/jenkins | 8,041 | [
"no_license"
] | [
{
"path": "roles/jenkins/tasks/main.yml",
"content": "---\n# tasks file\n\n- name: install dependencies\n apt:\n name:\n - curl\n - apt-transport-https\n - gnupg\n state: present\n update_cache: yes\n\n- name: install openjdk-8-j... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2789,
"all_permissive": false
} |
ansible_role | koooostya/ansible | 8f8cdf5d287b72b112da210c61e3cf890f708714 | 0 | roles/deploy_apache_web | 8,041 | [
"no_license"
] | [
{
"path": "roles/deploy_apache_web/defaults/main.yml",
"content": "---\n# defaults file for deploy_apache_web\nweb_dest: /var/www/html\n \n\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 71
},
{
"path": "roles/deploy_apache_web/tasks/main.yml",
"content": ... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 661,
"all_permissive": false
} |
ansible_role | O-clock-Nornes/S08-ansible-static-ini | 94473a1012ca098c52b74ff888aa514484e28da1 | 0 | playbooks/roles/user-ssh | 8,041 | [
"no_license"
] | [
{
"path": "playbooks/roles/user-ssh/templates/.env.j2",
"content": "MYSQL_HOST=10.2.2.2\nMYSQL_DB=MADB\nMYSQL_PASSWORD={{ <PASSWORD>_password }}",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 74
},
{
"path": "playbooks/roles/user-ssh/tasks/main.yml",
"content"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 506,
"all_permissive": false
} |
ansible_role | evadeflow/ubuntu-vm-setup | 57df9c1931a5ac7c3cb0773b5a6eeb6b0323df13 | 1 | roles/dotfiles | 8,041 | [
"no_license"
] | [
{
"path": "roles/dotfiles/molecule/default/verify.yml",
"content": "---\n- name: Verify\n hosts: all\n gather_facts: false\n vars_files: \"../../defaults/main.yml\"\n tasks:\n - name: Get installation status of packages the playbook was supposed to install\n package:\n name: \"{{ name }}\"\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 3956,
"all_permissive": false
} |
ansible_role | evadeflow/ubuntu-vm-setup | 57df9c1931a5ac7c3cb0773b5a6eeb6b0323df13 | 1 | roles/gnomeconfig | 8,041 | [
"no_license"
] | [
{
"path": "roles/gnomeconfig/handlers/main.yml",
"content": "---\n- name: Update font cache\n command: fc-cache -vf /home/{{ vm_user_home }}/.local/share/fonts\n when: this_is_a_test | length == 0 # Skip in docker/podman tests\n",
"license_type": "no_license",
"detected_licenses": [],
"size_b... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 7,
"total_bytes": 7023,
"all_permissive": false
} |
ansible_role | evadeflow/ubuntu-vm-setup | 57df9c1931a5ac7c3cb0773b5a6eeb6b0323df13 | 1 | roles/proxyconfig | 8,041 | [
"no_license"
] | [
{
"path": "roles/proxyconfig/vars/main.yml",
"content": "---\n# vars file for proxyconfig\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 32
},
{
"path": "roles/proxyconfig/handlers/main.yml",
"content": "---\n- name: Restart CNTLM\n service:\n name: cntl... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 8,
"total_bytes": 3826,
"all_permissive": false
} |
ansible_role | evadeflow/ubuntu-vm-setup | 57df9c1931a5ac7c3cb0773b5a6eeb6b0323df13 | 1 | roles/vboxgas | 8,041 | [
"no_license"
] | [
{
"path": "roles/vboxgas/tasks/main.yml",
"content": "---\n- name: Check whether the VirtualBox Guest Additions installer is available\n find:\n paths: \"/media/{{ vm_user_name }}\"\n patterns: \"VBoxLinuxAdditions.run\"\n recurse: true\n register: vbox_gas_installer\n\n- name: Install VirtualBox... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 930,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-1/roles/common | 8,041 | [
"no_license"
] | [
{
"path": "chapter-1/roles/common/tasks/main.yml",
"content": "# In ubuntu 16.04 by default there is no python2\n- name: install python 2\n raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal)\n\n- name: install curl and git\n apt:\n name: \"{{ item }}\"\n state: present\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 293,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-1/roles/db | 8,041 | [
"no_license"
] | [
{
"path": "chapter-1/roles/db/vars/main.yml",
"content": "---\nmysql_root_password: \"<PASSWORD>\"",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 37
},
{
"path": "chapter-1/roles/db/tasks/harden.yml",
"content": "- name: deletes anonymous mysql user\n mysql_u... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 922,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-1/roles/php | 8,041 | [
"no_license"
] | [
{
"path": "chapter-1/roles/php/tasks/main.yml",
"content": "- name: install php7\n apt:\n name: \"{{ item }}\"\n state: present\n\n with_items:\n - php7.0-mysql\n - php7.0-curl\n - php7.0-json\n - php7.0-cgi\n - php7.0\n - libapache2-mod-php7\n\n- name: restart apache2\n service:\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 294,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-1/roles/web | 8,041 | [
"no_license"
] | [
{
"path": "chapter-1/roles/web/handlers/main.yml",
"content": "- name: start apache2\n service:\n state: started\n name: apache2\n\n- name: stop apache2\n service:\n state: stopped\n name: apache2\n\n- name: restart apache2\n service:\n state: restarted\n name: apache2\n daemon_reloa... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 876,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-3/wordpress/roles/certbot | 8,041 | [
"no_license"
] | [
{
"path": "chapter-3/wordpress/roles/certbot/tasks/main.yml",
"content": "- name: adding certbot ppa\n apt_repository:\n repo: \"ppa:certbot/certbot\"\n\n- name: install certbot\n apt:\n name: \"{{ item }}\"\n update_cache: yes\n state: present\n \n with_items:\n - python-certbot-nginx\n\... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 836,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-3/wordpress/roles/common | 8,041 | [
"no_license"
] | [
{
"path": "chapter-3/wordpress/roles/common/tasks/main.yml",
"content": "- name: install python 2\n raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal)",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 107
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 107,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-3/wordpress/roles/duply | 8,041 | [
"no_license"
] | [
{
"path": "chapter-3/wordpress/roles/duply/tasks/main.yml",
"content": "- name: installing duply\n apt:\n name: \"{{ item }}\"\n update_cache: yes\n state: present\n\n with_items:\n - python-boto\n - duply\n\n- name: chcek if we have generated a config already\n stat:\n path: \"/home/{{... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1082,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-3/wordpress/roles/firewall-setup | 8,041 | [
"no_license"
] | [
{
"path": "chapter-3/wordpress/roles/firewall-setup/tasks/main.yml",
"content": "- name: installing ufw package\n apt:\n name: \"ufw\"\n update_cache: yes\n state: present\n\n- name: enable ufw logging\n ufw:\n logging: on\n\n- name: default ufw setting\n ufw:\n direction: \"{{ item.direct... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 848,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-3/wordpress/roles/mysql | 8,041 | [
"no_license"
] | [
{
"path": "chapter-3/wordpress/roles/mysql/tasks/main.yml",
"content": "- name: set mysql root password\n debconf:\n name: mysql-server\n question: mysql-server/root_password\n value: \"{{ mysql_root_password | quote }}\"\n vtype: password\n\n- name: confirm mysql root password\n debconf: \n ... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1051,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-3/wordpress/roles/mysql-hardening | 8,041 | [
"no_license"
] | [
{
"path": "chapter-3/wordpress/roles/mysql-hardening/tasks/main.yml",
"content": "- name: deletes anonymous mysql user\n mysql_user:\n user: \"\"\n state: absent\n login_password: \"{{ <PASSWORD> }}\"\n login_user: root\n\n- name: secures the mysql root user\n mysql_user: \n user: root\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 604,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-3/wordpress/roles/nginx | 8,041 | [
"no_license"
] | [
{
"path": "chapter-3/wordpress/roles/nginx/tasks/main.yml",
"content": "- name: installing nginx server\n apt:\n name: \"{{ item }}\"\n update_cache: yes\n state: present\n \n with_items:\n - nginx\n\n- name: configuring site files\n template:\n src: website.conf\n dest: /etc/nginx/sit... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 668,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-3/wordpress/roles/php-fpm | 8,041 | [
"no_license"
] | [
{
"path": "chapter-3/wordpress/roles/php-fpm/tasks/main.yml",
"content": "- name: installing php\n apt:\n name: \"{{ item }}\"\n update_cache: yes\n state: present\n\n with_items:\n - php-fpm\n - php-mysql\n - php-curl\n - php-gd\n - php-mbstring\n - php-mcrypt\n - php-xml\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 468,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-3/wordpress/roles/wordpress | 8,041 | [
"no_license"
] | [
{
"path": "chapter-3/wordpress/roles/wordpress/tasks/main.yml",
"content": "- name: downloading and keeping in path for wp-cli\n get_url:\n url: https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar\n dest: /usr/local/bin/wp\n mode: 0755\n\n- include: site-setup.yml",
"lice... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2471,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-4/beats-for-elastic-stack/roles/filebeat | 8,041 | [
"no_license"
] | [
{
"path": "chapter-4/beats-for-elastic-stack/roles/filebeat/tasks/configure-filebeat.yml",
"content": "- name: configuring filebeat.yml file\n template:\n src: \"{{ item.src }}\"\n dest: \"/etc/filebeat/{{ item.dst }}\"\n\n with_items:\n - { src: 'filebeat.yml.j2', dst: 'filebeat.yml' }\n\n noti... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 1521,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-4/beats-for-elastic-stack/roles/metricbeat | 8,041 | [
"no_license"
] | [
{
"path": "chapter-4/beats-for-elastic-stack/roles/metricbeat/handlers/main.yml",
"content": "- name: start metricbeat\n service:\n name: metricbeat\n state: started\n\n- name: restart metricbeat\n service:\n name: metricbeat\n state: restarted",
"license_type": "no_license",
"detected... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 1043,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-4/beats-for-elastic-stack/roles/packetbeat | 8,041 | [
"no_license"
] | [
{
"path": "chapter-4/beats-for-elastic-stack/roles/packetbeat/tasks/main.yml",
"content": "- include: install-packetbeat.yml\n- include: configure-packetbeat.yml",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 69
},
{
"path": "chapter-4/beats-for-elastic-stack/role... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 1014,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-4/elastalert/roles/aws-serverless | 8,041 | [
"no_license"
] | [
{
"path": "chapter-4/elastalert/roles/aws-serverless/templates/handler.js.j2",
"content": "const config = require('./config.js')\nconst AWS = require('aws-sdk')\n\nvar dynamodb = new AWS.DynamoDB();\nvar ec2 = new AWS.EC2();\nconst docClient = new AWS.DynamoDB.DocumentClient({region: config.region})\nvar ac... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 7,
"total_bytes": 9432,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-4/elastalert/roles/setup | 8,041 | [
"no_license"
] | [
{
"path": "chapter-4/elastalert/roles/setup/tasks/main.yml",
"content": "- name: installing pre requsuites for elastalert\n apt:\n name: \"{{ item }}\"\n state: present\n update_cache: yes\n\n with_items:\n - python-pip\n - python-dev\n - libffi-dev\n - libssl-dev\n - python-setupt... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 2078,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-4/elastic-stack/roles/common | 8,041 | [
"no_license"
] | [
{
"path": "chapter-4/elastic-stack/roles/common/tasks/main.yml",
"content": "- name: install python 2\n raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal)\n \n- name: accepting oracle java license agreement\n debconf:\n name: 'oracle-java8-installer'\n question: 'share... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 714,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-4/elastic-stack/roles/elasticsearch | 8,041 | [
"no_license"
] | [
{
"path": "chapter-4/elastic-stack/roles/elasticsearch/tasks/configure-elasticsearch.yml",
"content": "- name: creating elasticsearch backup repo directory at {{ elasticsearch_backups_repo_path }}\n file:\n path: \"{{ elasticsearch_backups_repo_path }}\"\n state: directory\n mode: 0755\n owner:... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1190,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-4/elastic-stack/roles/kibana | 8,041 | [
"no_license"
] | [
{
"path": "chapter-4/elastic-stack/roles/kibana/handlers/main.yml",
"content": "- name: start kibana\n service:\n name: kibana\n state: started\n\n- name: restart kibana\n service:\n name: kibana\n state: restarted\n",
"license_type": "no_license",
"detected_licenses": [],
"size_by... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 677,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-4/elastic-stack/roles/logstash | 8,041 | [
"no_license"
] | [
{
"path": "chapter-4/elastic-stack/roles/logstash/tasks/configure-logstash.yml",
"content": "- name: logstash configuration files \n template:\n src: \"{{ item.src }}\"\n dest: /etc/logstash/conf.d/\"{{ item.dst }}\"\n\n with_items:\n - { src: '02-beats-input.conf.j2', dst: '02-beats-input.conf' ... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 2113,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-4/elastic-stack/roles/nginx-reverse-proxy | 8,041 | [
"no_license"
] | [
{
"path": "chapter-4/elastic-stack/roles/nginx-reverse-proxy/templates/nginxdefault.j2",
"content": "server {\n listen 80;\n\n server_name localhost;\n\n auth_basic \"Restricted Access\";\n auth_basic_user_file /etc/nginx/htpasswd.users;\n\n location / {\n proxy_pass http://localhost:5... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 838,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-6/autonessus/roles/listpolices | 8,041 | [
"no_license"
] | [
{
"path": "chapter-6/autonessus/roles/listpolices/tasks/main.yml",
"content": "- name: list current policies using autoNessus\n command: \"autoNessus -p\"\n register: list_policies_output\n\n- debug:\n msg: \"{{ list_policies_output.stdout_lines }}\"",
"license_type": "no_license",
"detected_li... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 167,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-6/autonessus/roles/listscans | 8,041 | [
"no_license"
] | [
{
"path": "chapter-6/autonessus/roles/listscans/tasks/main.yml",
"content": "- name: list current scans and IDs using autoNessus\n command: \"autoNessus -l\"\n register: list_scans_output\n\n- debug:\n msg: \"{{ list_scans_output.stdout_lines }}\"",
"license_type": "no_license",
"detected_licen... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 166,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-6/autonessus/roles/pausescan | 8,041 | [
"no_license"
] | [
{
"path": "chapter-6/autonessus/roles/pausescan/tasks/main.yml",
"content": "- name: pausing nessus scan \"{{ scan_id }}\" using autoNessus\n command: \"autoNessus -pS {{ scan_id }}\"\n register: pause_scan_output\n\n- debug:\n msg: \"{{ pause_scan_output.stdout_lines }}\"",
"license_type": "no_lic... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 190,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-6/autonessus/roles/resumescan | 8,041 | [
"no_license"
] | [
{
"path": "chapter-6/autonessus/roles/resumescan/tasks/main.yml",
"content": "- name: resume nessus scan \"{{ scan_id }}\" using autoNessus\n command: \"autoNessus -sR {{ scan_id }}\"\n register: resume_scan_output\n\n- debug:\n msg: \"{{ resume_scan_output.stdout_lines }}\"",
"license_type": "no_l... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 191,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-6/autonessus/roles/setup | 8,041 | [
"no_license"
] | [
{
"path": "chapter-6/autonessus/roles/setup/tasks/main.yml",
"content": "- name: installing python-pip\n apt:\n name: python-pip\n update_cache: yes\n state: present\n\n- name: install python requests\n pip:\n name: requests\n\n- name: setting up autonessus\n get_url:\n url: \"https://gith... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 973,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-6/autonessus/roles/startscan | 8,041 | [
"no_license"
] | [
{
"path": "chapter-6/autonessus/roles/startscan/tasks/main.yml",
"content": "- name: starting nessus scan \"{{ scan_id }}\" using autoNessus\n command: \"autoNessus -sS {{ scan_id }}\"\n register: start_scan_output\n\n- debug:\n msg: \"{{ start_scan_output.stdout_lines }}\"",
"license_type": "no_li... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 202,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-6/autonessus/roles/stopscan | 8,041 | [
"no_license"
] | [
{
"path": "chapter-6/autonessus/roles/stopscan/tasks/main.yml",
"content": "- name: stopping nessus scan \"{{ scan_id }}\" using autoNessus\n command: \"autoNessus -sP {{ scan_id }}\"\n register: stop_scan_output\n\n- debug:\n msg: \"{{ stop_scan_output.stdout_lines }}\"",
"license_type": "no_licen... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 189,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-6/nessus-setup/roles/setup | 8,041 | [
"no_license"
] | [
{
"path": "chapter-6/nessus-setup/roles/setup/tasks/main.yml",
"content": "- name: install python 2\n raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal)\n\n- name: downloading the package and installing\n apt:\n deb: \"{{ nessus_download_url }}\"\n\n- name: start the nessu... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 299,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-7/blue-green-setup/roles/bluecode | 8,041 | [
"no_license"
] | [
{
"path": "chapter-7/blue-green-setup/roles/bluecode/tasks/main.yml",
"content": "- name: adding code in blue machine\n template:\n src: index.html\n dest: /var/www/html/index.html",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 102
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 102,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-7/blue-green-setup/roles/common | 8,041 | [
"no_license"
] | [
{
"path": "chapter-7/blue-green-setup/roles/common/tasks/main.yml",
"content": "- name: installing python if not installed\n raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal)\n\n- name: updating and installing git, curl\n apt:\n name: \"{{ item }}\"\n state: present\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 351,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-7/blue-green-setup/roles/greencode | 8,041 | [
"no_license"
] | [
{
"path": "chapter-7/blue-green-setup/roles/greencode/tasks/main.yml",
"content": "- name: adding code in green machine\n template:\n src: index.html\n dest: /var/www/html/index.html",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 103
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 103,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-7/blue-green-setup/roles/haproxy | 8,041 | [
"no_license"
] | [
{
"path": "chapter-7/blue-green-setup/roles/haproxy/tasks/main.yml",
"content": "- name: adding haproxy repo\n apt_repository:\n repo: ppa:vbernat/haproxy-1.7\n\n- name: updating and installing haproxy\n apt:\n name: haproxy\n state: present\n update_cache: yes\n\n- name: updating the haproxy ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 404,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-7/blue-green-setup/roles/nginx | 8,041 | [
"no_license"
] | [
{
"path": "chapter-7/blue-green-setup/roles/nginx/tasks/main.yml",
"content": "- name: installing nginx\n apt:\n name: nginx\n state: present\n update_cache: yes\n\n- name: starting the nginx service\n service:\n name: nginx\n state: started\n enabled: yes",
"license_type": "no_licen... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 187,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-8/vuls/roles/vuls_containers_download | 8,041 | [
"no_license"
] | [
{
"path": "chapter-8/vuls/roles/vuls_containers_download/tasks/main.yml",
"content": "- name: pulling containers locally\n docker_image:\n name: \"{{ item }}\"\n pull: yes\n \n with_items:\n - vuls/go-cve-dictionary\n - vuls/goval-dictionary\n - vuls/vuls",
"license_type": "no_license"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 177,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-8/vuls/roles/vuls_database_download | 8,041 | [
"no_license"
] | [
{
"path": "chapter-8/vuls/roles/vuls_database_download/tasks/main.yml",
"content": "- name: fetching NVD database locally\n docker_container:\n name: \"cve-{{ item }}\"\n image: vuls/go-cve-dictionary\n auto_remove: yes\n interactive: yes\n state: started\n command: fetchnvd -years \"{{ i... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1191,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-9/cuckoo-setup/roles/cuckoo | 8,041 | [
"no_license"
] | [
{
"path": "chapter-9/cuckoo-setup/roles/cuckoo/tasks/main.yml",
"content": " - name: adding cuckoo to vboxusers\n group:\n name: cuckoo\n state: present\n\n - name: creating new user and add to groups\n user:\n name: cuckoo\n shell: /bin/bash\n groups: vboxusers, cuckoo\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 756,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-9/cuckoo-setup/roles/dependencies | 8,041 | [
"no_license"
] | [
{
"path": "chapter-9/cuckoo-setup/roles/dependencies/tasks/main.yml",
"content": "- name: installing pre requirements\n apt:\n name: \"{{ item }}\"\n state: present\n update_cache: yes\n \n with_items:\n - python\n - python-pip\n - python-dev\n - libffi-dev\n - libssl-dev\n - p... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 764,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-9/cuckoo-setup/roles/start-cuckoo | 8,041 | [
"no_license"
] | [
{
"path": "chapter-9/cuckoo-setup/roles/start-cuckoo/tasks/main.yml",
"content": "- name: copying the configurationss\n template:\n src: \"{{ item.src }}\"\n dest: \"/root/.cuckoo/conf/{{ item.dest }}\"\n \n with_items:\n - { src: \"cuckoo.conf\", dest: \"cuckoo.conf\"}\n - { src: \"auxiliary... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 570,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-9/cuckoo-setup/roles/virtualbox | 8,041 | [
"no_license"
] | [
{
"path": "chapter-9/cuckoo-setup/roles/virtualbox/tasks/main.yml",
"content": "- name: adding virtualbox apt source\n apt_repository:\n repo: \"deb http://download.virtualbox.org/virtualbox/debian xenial contrib\"\n filename: 'virtualbox'\n state: present\n\n- name: adding virtualbox apt key\n a... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 414,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-9/cuckoo-setup/roles/yara | 8,041 | [
"no_license"
] | [
{
"path": "chapter-9/cuckoo-setup/roles/yara/tasks/main.yml",
"content": "- name: copying the setup scripts\n template:\n src: \"{{ item.src }}\"\n dest: \"{{ item.dest }}\"\n mode: 0755\n \n with_items:\n - { src: \"yara.sh\", dest: \"/tmp/yara.sh\" }\n - { src: \"ssdeep.sh\", dest: \"/tm... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 910,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-9/viper-setup/roles/dependencies | 8,041 | [
"no_license"
] | [
{
"path": "chapter-9/viper-setup/roles/dependencies/templates/ssdeep.sh",
"content": "#!/bin/bash\n\ncd /tmp/ssdeep-2.14.1\n./configure\n./bootstrap\nmake\nmake install",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 76
},
{
"path": "chapter-9/viper-setup/roles/dep... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 809,
"all_permissive": false
} |
ansible_role | madhuakula/security-automation-with-ansible-2 | a0171fbb347edacf5ffcdde550b57b8bf2ff3648 | 102 | chapter-9/viper-setup/roles/setup | 8,041 | [
"no_license"
] | [
{
"path": "chapter-9/viper-setup/roles/setup/tasks/main.yml",
"content": "- name: downloading the release\n unarchive:\n src: https://github.com/viper-framework/viper/archive/v1.2.tar.gz\n dest: /opt/\n remote_src: yes\n\n- name: installing pip dependencies\n pip:\n requirements: /opt/viper-1.... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 460,
"all_permissive": false
} |
ansible_role | avnertzur/project_reference | 4859fba7d411d0eb9819c771addba8af4937f923 | 0 | ProjectX_V1/playbooks/roles/harden | 8,041 | [
"no_license"
] | [
{
"path": "ProjectX_V1/playbooks/roles/harden/tasks/main.yml",
"content": "---\n \n- include: load-vars.yml\n- include: centos7-setup.yml\n when: ansible_distribution == \"CentOS\" and ansible_distribution_major_version == '7'\n- include: ubuntu-setup.yml\n when: ansible_distribution == \"Ubuntu\"\n",
... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 369,
"all_permissive": false
} |
ansible_role | zalalov/aws-build | 2e768d5234627a85091f556418102500f45883d6 | 0 | roles/apache | 8,047 | [
"no_license"
] | [
{
"path": "roles/apache/tasks/install.yml",
"content": "# Apache install task\n---\n\n- name: Install Apache\n become: yes\n apt:\n pkg: apache2\n state: latest\n update_cache: yes\n\n- name: Get Apache version\n shell: apache2 -v\n register: apache_version",
"license_type": "no_license",
... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 777,
"all_permissive": false
} |
ansible_role | zalalov/aws-build | 2e768d5234627a85091f556418102500f45883d6 | 0 | roles/aws_creation | 8,047 | [
"no_license"
] | [
{
"path": "roles/aws_creation/tasks/ec2.yml",
"content": "# EC2 Instances Creation Task\n---\n\n# create proxy instance\n- name: Create EC2 instance for proxy\n ec2:\n region: \"{{ ec2_config.region }}\"\n keypair: \"{{ ec2_config.keypair }}\"\n instance_type: \"{{ ec2_config.instance_type }}\"\n ... | {
"task_files": 5,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 9631,
"all_permissive": false
} |
ansible_role | zalalov/aws-build | 2e768d5234627a85091f556418102500f45883d6 | 0 | roles/aws_keypair | 8,047 | [
"no_license"
] | [
{
"path": "roles/aws_keypair/tasks/main.yml",
"content": "---\n\n- stat: path=\"{{ public_key_path }}\"\n register: keyfile\n\n- name: generate ssh keys\n command: ssh-keygen -N '' -f \"{{ private_key_path }}\"\n when: not keyfile.stat.exists\n\n- name: import key\n ec2_key:\n name: \"{{ ec2_config.k... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 332,
"all_permissive": false
} |
ansible_role | zalalov/aws-build | 2e768d5234627a85091f556418102500f45883d6 | 0 | roles/django | 8,047 | [
"no_license"
] | [
{
"path": "roles/django/tasks/main.yml",
"content": "# Tasks for django\n---\n\n- name: Install Django\n become: yes\n apt:\n pkg: python-django\n state: latest\n update_cache: yes",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 130
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 130,
"all_permissive": false
} |
ansible_role | zalalov/aws-build | 2e768d5234627a85091f556418102500f45883d6 | 0 | roles/postgresql | 8,047 | [
"no_license"
] | [
{
"path": "roles/postgresql/tasks/main.yml",
"content": "---\n# task file for postgresql\n\n- name: Install PostgreSQL\n become: yes\n apt:\n pkg: postgresql\n state: latest\n update_cache: yes",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 139
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 139,
"all_permissive": false
} |
ansible_role | zalalov/aws-build | 2e768d5234627a85091f556418102500f45883d6 | 0 | roles/proxy | 8,047 | [
"no_license"
] | [
{
"path": "roles/proxy/tasks/modules.yml",
"content": "# Install apache modules task\n---\n\n- name: Install Apache Modules\n apache2_module:\n state: present\n name: \"{{ item }}\"\n notify: restart apache\n with_items:\n - rewrite\n - proxy\n - proxy_http",
"license_type": "no_licens... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 1170,
"all_permissive": false
} |
ansible_role | zalalov/aws-build | 2e768d5234627a85091f556418102500f45883d6 | 0 | roles/redis | 8,047 | [
"no_license"
] | [
{
"path": "roles/redis/handlers/main.yml",
"content": "# Handlers for redis\n---\n\n- name: restart redis\n service:\n name: redis-server\n state: restarted",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 102
},
{
"path": "roles/redis/meta/main.yml",
"co... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 609,
"all_permissive": false
} |
ansible_role | zalalov/aws-build | 2e768d5234627a85091f556418102500f45883d6 | 0 | roles/zabbix-agent | 8,047 | [
"no_license"
] | [
{
"path": "roles/zabbix-agent/tasks/main.yml",
"content": "---\n# Tasks specific for Debian/Ubuntu Systems\n\n- include: install.yml",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 70
},
{
"path": "roles/zabbix-agent/tasks/install.yml",
"content": "# install za... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 850,
"all_permissive": false
} |
ansible_role | zalalov/aws-build | 2e768d5234627a85091f556418102500f45883d6 | 0 | roles/zabbix-server | 8,047 | [
"no_license"
] | [
{
"path": "roles/zabbix-server/tasks/main.yml",
"content": "# main task for zabbix-server\n---\n\n- include: install.yml\n\n- include: apache-configure.yml\n\n- include: pg-configure.yml\n\n- include: zabbix-configure.yml",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 152... | {
"task_files": 5,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 6,
"total_bytes": 3647,
"all_permissive": false
} |
ansible_role | imunew/php-rabbitmq-example | 70854371a86c4fa9d3302bcfef9bc79761fd2fb2 | 1 | ansible/roles/common | 8,047 | [
"no_license"
] | [
{
"path": "ansible/roles/common/tasks/main.yml",
"content": "- name: Set timezone remove localtime\n file: path=/etc/localtime state=absent\n\n- name: Set timezone to JST\n file: src=/usr/share/zoneinfo/Asia/Tokyo dest=/etc/localtime state=link force=yes owner=root group=root mode=0644\n\n- name: Create t... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 743,
"all_permissive": false
} |
ansible_role | imunew/php-rabbitmq-example | 70854371a86c4fa9d3302bcfef9bc79761fd2fb2 | 1 | ansible/roles/php | 8,047 | [
"no_license"
] | [
{
"path": "ansible/roles/php/handlers/main.yml",
"content": "- name: restart php-fpm\n service: name=php-fpm state=restarted enabled=yes\n\n- name: reload php-fpm\n service: name=php-fpm state=reloaded enabled=yes\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 151
}... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 1265,
"all_permissive": false
} |
ansible_role | imunew/php-rabbitmq-example | 70854371a86c4fa9d3302bcfef9bc79761fd2fb2 | 1 | ansible/roles/rabbitmq | 8,047 | [
"no_license"
] | [
{
"path": "ansible/roles/rabbitmq/tasks/main.yml",
"content": "- name: Install yum packages\n yum: name={{ item }} state=installed\n with_items:\n - rabbitmq-server\n - librabbitmq-devel\n\n- name: start rabbitmq-server\n service: name=rabbitmq-server state=started enabled=yes\n",
"license_type... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 217,
"all_permissive": false
} |
ansible_role | prudhviraj75/ansible | 16aaf51052a3bae1e29ff78741e9271185f1bdc3 | 0 | ansibleroles/roles/webapp1 | 8,047 | [
"no_license"
] | [
{
"path": "ansibleroles/roles/webapp1/tasks/homepage.yml",
"content": "---\n- name: copy custom homepage website\n copy: \n src: files/index.html\n dest: /var/www/html\n ",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 104
},
{
"path": "ansibleroles/roles... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 215,
"all_permissive": false
} |
ansible_role | kmlchauhan/ansible-pythonapp-deployment | 53e2339f417d09bf811dd520cfdb4b1a146faa96 | 0 | roles/control | 8,047 | [
"no_license"
] | [
{
"path": "roles/control/tasks/main.yml",
"content": "---\n# tasks file for control\n- name: Install Tools\n apt: name={{item}} state=present\n with_items:\n - curl\n - tree\n - python-httplib2\n tags: [ 'packages' ]\n",
"license_type": "no_license",
"detected_licenses": [],
"size_by... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 167,
"all_permissive": false
} |
ansible_role | slashdevsda/dwarf_fortress_playbook | 70872d8f9055e694df388145c9123056c62cdb70 | 1 | roles/dwarf_fortress | 8,047 | [
"no_license"
] | [
{
"path": "roles/dwarf_fortress/vars/main.yml",
"content": "---\n# vars file for dwarf_fortress\nlnp_release: LinuxLNP-0.43.05-r06\nlnp_tar_url: http://dffd.bay12games.com/download.php?id=12762&f=LinuxLNP-0.43.05-r06.tar.gz\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes":... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 2382,
"all_permissive": false
} |
ansible_role | GoKEV/GoKEV-windows-lab-provision | f77ba68eda957e9885099318b524591afeb9650d | 0 | roles/kev-windowslab-provision | 8,047 | [
"no_license"
] | [
{
"path": "roles/kev-windowslab-provision/defaults/main.yml",
"content": "---\n# defaults file for kev-vmware-provision/---\n\nvmware_datacenter: 'KEV Datacenter'\nvmware_cluster: 'KEV Cluster'\nvmware_resource_pool: WindowsLab\nvmware_template_name: TEMPLATE-Windows2016\nvmware_datastore: VMNFS\nvmware_fol... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 2936,
"all_permissive": false
} |
ansible_role | tankhuu/homer | 4e7dc2cfe050788b012de79b9443d7ba370d8369 | 0 | ansible/roles/mongodb_exporter | 8,047 | [
"no_license"
] | [
{
"path": "ansible/roles/mongodb_exporter/tasks/main.yml",
"content": "---\n- name: install mongodb_exporter into Cache-Queue Instance\n become: yes\n copy:\n src: mongodb_exporter\n dest: /usr/local/bin\n mode: 0755\n\n- name: Ensures /opt/prometheus/mongodb_exporter dir exists\n file: \n pa... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1038,
"all_permissive": false
} |
ansible_role | tankhuu/homer | 4e7dc2cfe050788b012de79b9443d7ba370d8369 | 0 | ansible/roles/node_exporter | 8,047 | [
"no_license"
] | [
{
"path": "ansible/roles/node_exporter/files/start.sh",
"content": "#!/bin/bash -xe\n\nservicesList=\".+\\\\.(docker|ssh|rsyslog|gateway|middle|backend|geocodeservice|importservice|overlay|reportsserver|aggregateservice|rres|geocalculation|ivin|timeattendance)\"\n/usr/local/bin/node_exporter --collector.tex... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1013,
"all_permissive": false
} |
ansible_role | tankhuu/homer | 4e7dc2cfe050788b012de79b9443d7ba370d8369 | 0 | ansible/roles/systemd_exporter | 8,047 | [
"no_license"
] | [
{
"path": "ansible/roles/systemd_exporter/tasks/main.yml",
"content": "---\n- name: install systemd_exporter into Instance\n become: yes\n copy:\n src: systemd_exporter\n dest: /usr/local/bin\n mode: 0755\n\n- name: Ensures /opt/prometheus/systemd_exporter dir exists\n file: \n path: /opt/pro... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1167,
"all_permissive": false
} |
ansible_role | swathivadlakonda/mariaDB-cluster--ansible | b42ce53dc407002d641fe5c13d97058373db8176 | 0 | roles/mariadb | 8,047 | [
"no_license"
] | [
{
"path": "roles/mariadb/tasks/main.yml",
"content": "---\n- name: test\n file: path=/tmp/foo.conf mode=0644 state=touch\n- name: install python\n become: true\n apt: \n name: software-properties-common\n state: latest\n- name: Apt-get update\n apt:\n name: \"*\"\n update_cache: yes\n state... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1606,
"all_permissive": false
} |
ansible_role | Cassette1122/courses | d91034ed64bd4c36ae8e5a49f8c4d80543e82536 | 0 | ansible/task11/roles/web_server | 8,047 | [
"no_license"
] | [
{
"path": "ansible/task11/roles/web_server/tasks/main.yml",
"content": "---\n- name: Install nginx on Ubuntu\n apt:\n name: nginx\n state: present\n update_cache: yes\n when: ansible_distribution == \"Ubuntu\"\n\n- name: Install httpd on Fedora\n dnf:\n name: httpd\n state: present\n when... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 883,
"all_permissive": false
} |
ansible_role | dlemons-redhat/terraform_demo | e589dd221686cc3e0f6c49b57c66f0e98b0631be | 0 | roles/tf_provision | 8,047 | [
"no_license"
] | [
{
"path": "roles/tf_provision/tasks/provision.yml",
"content": "---\n- name: Build terraform infra\n community.general.terraform:\n project_path: '{{ role_path }}/terraform'\n state: present\n force_init: yes\n workspace: \"{{ workspace }}\"\n register: deploy_output\n\n- name: Display provisi... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 11,
"total_bytes": 4422,
"all_permissive": false
} |
ansible_role | giwealth/tools | a033837e116aab59072405c299f959acb440ebc6 | 0 | ansible/roles/adduser | 8,047 | [
"no_license"
] | [
{
"path": "ansible/roles/adduser/tasks/main.yml",
"content": "- name: Add user \"{{ username }}\"\n user:\n name: \"{{ username }}\"\n shell: \"/bin/bash\"\n when: username is defined and username != \"\"\n# password: \"{{ adduser_password | default(omit)}}\"\n# update_password: \"{{ adduser_p... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 681,
"all_permissive": false
} |
ansible_role | giwealth/tools | a033837e116aab59072405c299f959acb440ebc6 | 0 | ansible/roles/ssl-key | 8,047 | [
"no_license"
] | [
{
"path": "ansible/roles/ssl-key/tasks/main.yml",
"content": "- name: 下发 SSL 证书 \n #copy: src={{ base_dir }}/ssl/haochang.tv/{{ item }} dest=/usr/local/etc/nginx/haochang.tv/{{ item }} mode=0644\n copy: src={{ base_dir }}/ssl/haochang.tv/{{ item }} dest=/usr/local/etc/nginx/haochang.tv/{{ item }} mode=064... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 354,
"all_permissive": false
} |
ansible_role | akinolasupo/vagrant_kuber | af09f9f8b7da18901aec5ed3b5dfdb39d63c9368 | 1 | ansible/roles/common | 8,047 | [
"no_license"
] | [
{
"path": "ansible/roles/common/tasks/main.yml",
"content": "---\n\n- name: Add docker repository\n yum_repository:\n name: virt7-docker-common-release\n description: Docker repository\n file: virt7-docker-common-release\n baseurl: https://cbs.centos.org/repos/virt7-docker-common-release/x86_64... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1767,
"all_permissive": false
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.