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 | ibrahimbakayoko/aws-devops-journey | a4d4ee5a1338bba596d3d5a929470ff7febd7f7e | 0 | ansible-devopsopenjourney/roles/ufw | 367 | [
"no_license"
] | [
{
"path": "ansible-devopsopenjourney/roles/ufw/tasks/main.yml",
"content": "---\n# tasks file for ufw\n\n- name: Installer UFW\n apt:\n name: ufw\n state: present\n update_cache: yes\n\n- name: Autoriser SSH\n ufw:\n rule: allow\n name: OpenSSH\n\n- name: Autoriser le port HTTP (80)\n ufw:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 422,
"all_permissive": false
} |
ansible_role | morion75/ansible_tutorial | 2480c80bba82b82fc68581effab846bbea73ba3a | 0 | roles/db_servers | 367 | [
"no_license"
] | [
{
"path": "roles/db_servers/tasks/main.yml",
"content": "- name: install mariadb package(Rocky or CentOS)\n tags: centos,rocky,db,mariadb\n dnf:\n name: mariadb,mariadb-server\n state: latest\n when: ansible_distribution in [\"Rocky\", \"CentOS\"]\n\n- name: install maraidb package(Ubuntu)\n tags:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 350,
"all_permissive": false
} |
ansible_role | morion75/ansible_tutorial | 2480c80bba82b82fc68581effab846bbea73ba3a | 0 | roles/file_servers | 367 | [
"no_license"
] | [
{
"path": "roles/file_servers/tasks/main.yml",
"content": "- name: install samba package\n tags: samba,centos,rocky,ubuntu\n package:\n name: samba\n state: latest\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 109
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 109,
"all_permissive": false
} |
ansible_role | morion75/ansible_tutorial | 2480c80bba82b82fc68581effab846bbea73ba3a | 0 | roles/web_servers | 367 | [
"no_license"
] | [
{
"path": "roles/web_servers/tasks/main.yml",
"content": "- name: install httpd & php support for apache \n tags: apache,httpd,centos,rocky\n dnf:\n name:\n - \"{{ apache_package_name }}\"\n - \"{{ php_package_name }}\"\n state: latest\n\n- name: start httpd\n tags: apache,httpd,centos\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 754,
"all_permissive": false
} |
ansible_role | guidolarrain1981/vagrant-ansible-docker-mysql-master-slave | d1347bc22f1ec105f79dcd3e15ebcf1202257f3d | 0 | ansible/roles/mysql | 367 | [
"no_license"
] | [
{
"path": "ansible/roles/mysql/tasks/main.yml",
"content": "- name: MySQL Master-Slave\n command: chdir=/home/vagrant/docker-mysql-master-slave sudo docker-compose up -d\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 110
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 110,
"all_permissive": false
} |
ansible_role | IncogRoae/RE-Nginx | fd403106099f9b22bd720e55f63b7bfcd9a2066b | 0 | roles/init | 367 | [
"no_license"
] | [
{
"path": "roles/init/tasks/main.yaml",
"content": "- name: Install prerequisites\n apt:\n name:\n - curl\n - gnupg2\n - ca-certificates\n - lsb-release\n - ubuntu-keyring\n - libpcre3\n state: present\n update_cache: yes\n\n- name: Import Nginx signing key\n become:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1388,
"all_permissive": false
} |
ansible_role | jctanner/odp-prototype | e455bec1ccd7a93d8020945f41807b5b9ad9505e | 0 | odp-deploy/ansible/roles/clusternode | 367 | [
"permissive"
] | [
{
"path": "odp-deploy/ansible/roles/clusternode/tasks/main.yml",
"content": "---\n# tasks file for clusternode\n\n- name: install common packages\n yum: name={{ item }} state=present\n with_items:\n - java-1.7.0-openjdk-devel\n - java-1.7.0-openjdk\n - strace\n - lsof\n - vim-enhanced\n ... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 1009,
"all_permissive": true
} |
ansible_role | jctanner/odp-prototype | e455bec1ccd7a93d8020945f41807b5b9ad9505e | 0 | odp-deploy/ansible/roles/common | 367 | [
"permissive"
] | [
{
"path": "odp-deploy/ansible/roles/common/tasks/main.yml",
"content": "---\n# tasks file for common\n\n- name: get rid of vagrant's bad entry in /etc/hosts\n lineinfile: \n state=present\n dest=/etc/hosts\n regexp='127.0.0.1.*'\n line='127.0.0.1 localhost localhost.localdomain'\n\n- name: copy... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 862,
"all_permissive": true
} |
ansible_role | jctanner/odp-prototype | e455bec1ccd7a93d8020945f41807b5b9ad9505e | 0 | odp-deploy/ansible/roles/datanode | 367 | [
"permissive"
] | [
{
"path": "odp-deploy/ansible/roles/datanode/tasks/main.yml",
"content": "---\n# tasks file for datanode\n- name: install packages\n yum: name={{ item }} state=present\n with_items:\n - hadoop-hdfs-datanode\n - hadoop-mapreduce\n - hadoop-httpfs\n - hadoop-yarn-nodemanager\n\n- name: create sy... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 3668,
"all_permissive": true
} |
ansible_role | jctanner/odp-prototype | e455bec1ccd7a93d8020945f41807b5b9ad9505e | 0 | odp-deploy/ansible/roles/hive_latest | 367 | [
"permissive"
] | [
{
"path": "odp-deploy/ansible/roles/hive_latest/tasks/main.yml",
"content": "---\n# tasks file for hive_latest\n# https://cwiki.apache.org/confluence/display/Hive/GettingStarted#GettingStarted-InstallingHivefromaStableRelease\n\n- name: get the latest release tarball\n get_url: \n url=http://apache.mirr... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 3314,
"all_permissive": true
} |
ansible_role | jctanner/odp-prototype | e455bec1ccd7a93d8020945f41807b5b9ad9505e | 0 | odp-deploy/ansible/roles/itester | 367 | [
"permissive"
] | [
{
"path": "odp-deploy/ansible/roles/itester/handlers/main.yml",
"content": "---\n# handlers file for itester\n",
"license_type": "permissive",
"detected_licenses": [
"Apache-2.0"
],
"size_bytes": 32
},
{
"path": "odp-deploy/ansible/roles/itester/defaults/main.yml",
"content... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 364,
"all_permissive": true
} |
ansible_role | jctanner/odp-prototype | e455bec1ccd7a93d8020945f41807b5b9ad9505e | 0 | odp-deploy/ansible/roles/sandbox | 367 | [
"permissive"
] | [
{
"path": "odp-deploy/ansible/roles/sandbox/defaults/main.yml",
"content": "---\n# defaults file for sandbox\n",
"license_type": "permissive",
"detected_licenses": [
"Apache-2.0"
],
"size_bytes": 32
},
{
"path": "odp-deploy/ansible/roles/sandbox/handlers/main.yml",
"content... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 6,
"total_bytes": 3570,
"all_permissive": true
} |
ansible_role | bpn2k4/ansible | fe4ccf66515a877c4f081abd9db847cf05a96fbb | 0 | docker/roles/docker | 367 | [
"no_license"
] | [
{
"path": "docker/roles/docker/tasks/main.yaml",
"content": "---\n- name: Copy deb files\n copy:\n src: \"{{ item }}\"\n dest: \"{{ docker_copy_file_destination }}/{{ item }}\"\n loop: \"{{ docker_deb_files }}\"\n\n- name: Install Docker packages\n shell: |\n dpkg -i {{ docker_copy_file_destinat... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 511,
"all_permissive": false
} |
ansible_role | bpn2k4/ansible | fe4ccf66515a877c4f081abd9db847cf05a96fbb | 0 | docker/roles/uninstall | 367 | [
"no_license"
] | [
{
"path": "docker/roles/uninstall/defaults/main.yaml",
"content": "---\n# Users to remove from Docker group\ndocker_users:\n - \"{{ ansible_user }}\"\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 79
},
{
"path": "docker/roles/uninstall/vars/main.yaml",
"co... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 986,
"all_permissive": false
} |
ansible_role | jpinheiro228/ansible | 894b076526b5423058cd62154f47279f744a0f26 | 0 | playbooks/setup/roles/common | 367 | [
"no_license"
] | [
{
"path": "playbooks/setup/roles/common/tasks/localuser.yml",
"content": "---\n- name: Ensure local group\n ansible.builtin.group:\n name: jpinheiro\n state: present\n\n- name: Ensure local user\n ansible.builtin.user:\n create_home: true\n name: jpinheiro\n comment: <NAME>\n append: tru... | {
"task_files": 4,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 2216,
"all_permissive": false
} |
ansible_role | jpinheiro228/ansible | 894b076526b5423058cd62154f47279f744a0f26 | 0 | playbooks/setup/roles/network | 367 | [
"no_license"
] | [
{
"path": "playbooks/setup/roles/network/tasks/main.yml",
"content": "---\n- name: Setup network and security\n include_tasks: \"{{ item }}\"\n loop:\n - ssh.yml",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 90
},
{
"path": "playbooks/setup/roles/network/tas... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 493,
"all_permissive": false
} |
ansible_role | dorwi/Java-Play-AngularJS-Betonleague | ab392308779216ba4a5c3aad90ce841f7af7e595 | 0 | ansible/roles/deploy-play | 367 | [
"no_license"
] | [
{
"path": "ansible/roles/deploy-play/tasks/main.yml",
"content": "---\n - name: Install Zip\n sudo: True\n apt: pkg=zip state=installed\n\n\n - name: Copy the compiled backend and extract it\n unarchive: src=\"../backend/betonplay/target/universal/{{ betonplay_version }}.zip\" dest=~\n\n - name:... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 670,
"all_permissive": false
} |
ansible_role | dorwi/Java-Play-AngularJS-Betonleague | ab392308779216ba4a5c3aad90ce841f7af7e595 | 0 | ansible/roles/java | 367 | [
"no_license"
] | [
{
"path": "ansible/roles/java/tasks/main.yml",
"content": "---\n - name: Add Oracle java repository\n sudo: true\n apt_repository: repo=\"ppa:webupd8team/java\"\n\n - name: Accept Java licence\n shell: echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | tee /etc/oracle-j... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 581,
"all_permissive": false
} |
ansible_role | dorwi/Java-Play-AngularJS-Betonleague | ab392308779216ba4a5c3aad90ce841f7af7e595 | 0 | ansible/roles/psql | 367 | [
"no_license"
] | [
{
"path": "ansible/roles/psql/defaults/main.yml",
"content": "---\npsql_version: \"9.4\"\npsql_encoding: \"UTF-8\"\npsql_locale: \"en_US.UTF-8\"\npsql_template: \"template0\"\n\npsql_user_name: \"beton_usr\"\npsql_user_password: \"<PASSWORD>\"\npsql_user_database: \"betonleague\"\npgsql_user_privilege: \"SU... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1676,
"all_permissive": false
} |
ansible_role | AleaChlodnik/Octopus | 34f7944b791c350807486e8c902ec70a8ce7bd12 | 0 | roles/base | 367 | [
"no_license"
] | [
{
"path": "roles/base/tasks/main.yml",
"content": "- name: Install essential packages\n ansible.builtin.apt:\n name: \"{{ item }}\"\n state: present\n with_items:\n - git\n - curl",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 134
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 134,
"all_permissive": false
} |
ansible_role | AleaChlodnik/Octopus | 34f7944b791c350807486e8c902ec70a8ce7bd12 | 0 | roles/poll | 367 | [
"no_license"
] | [
{
"path": "roles/poll/tasks/main.yml",
"content": "- name: Check if directory for poll application exists\n ansible.builtin.stat:\n path: /var/www/poll\n register: poll_directory\n\n- name: create directory for poll application\n ansible.builtin.file:\n path: /var/www/poll\n state: directory\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1950,
"all_permissive": false
} |
ansible_role | AleaChlodnik/Octopus | 34f7944b791c350807486e8c902ec70a8ce7bd12 | 0 | roles/postgresql | 367 | [
"no_license"
] | [
{
"path": "roles/postgresql/tasks/main.yml",
"content": "- name: Importing the repository signing key\n become: true\n ansible.builtin.apt_key:\n url: https://www.postgresql.org/media/keys/ACCC4CF8.asc\n state: present\n\n- name: Adding PostgreSQL's repository\n become: true\n ansible.builtin.apt_... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2378,
"all_permissive": false
} |
ansible_role | AleaChlodnik/Octopus | 34f7944b791c350807486e8c902ec70a8ce7bd12 | 0 | roles/redis | 367 | [
"no_license"
] | [
{
"path": "roles/redis/tasks/main.yml",
"content": "- name: Install redis\n become: true\n apt:\n name: redis-server\n state: present\n\n- name: upload systemd service to server\n become: true\n ansible.builtin.template:\n src: ../files/redis.conf\n dest: /etc/redis/redis.conf\n register: o... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 512,
"all_permissive": false
} |
ansible_role | AleaChlodnik/Octopus | 34f7944b791c350807486e8c902ec70a8ce7bd12 | 0 | roles/result | 367 | [
"no_license"
] | [
{
"path": "roles/result/tasks/main.yml",
"content": "- name: create result directory for ansible\n file:\n path: /var/www/result\n state: directory\n mode: 0755\n become: true\n\n- name: Extract result.tar\n ansible.builtin.unarchive:\n src: result.tar\n dest: /var/www/result\n owner: w... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1051,
"all_permissive": false
} |
ansible_role | AleaChlodnik/Octopus | 34f7944b791c350807486e8c902ec70a8ce7bd12 | 0 | roles/worker | 367 | [
"no_license"
] | [
{
"path": "roles/worker/tasks/main.yml",
"content": "- name: Check if directory exists\n ansible.builtin.file:\n path: /var/www/worker\n state: directory\n owner: www-data\n group: www-data\n\n- name: Extract worker application\n ansible.builtin.unarchive:\n src: worker.tar\n dest: /var/... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2030,
"all_permissive": false
} |
ansible_role | egosumscientia/Ansible-labs | 07f5f499ee82edfa450ca44060b9b09892508162 | 0 | Lab03/ansible/roles/system_info | 367 | [
"no_license"
] | [
{
"path": "Lab03/ansible/roles/system_info/handlers/main.yml",
"content": "---\n- name: restart syslog\n service:\n name: \"{{ 'syslog' if ansible_facts['distribution'] == 'Ubuntu' else 'rsyslog' }}\"\n state: restarted\n ignore_errors: true",
"license_type": "no_license",
"detected_licenses... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 1534,
"all_permissive": false
} |
ansible_role | kangaroot/ansible-collection-kangaroot-foreman_content_datadog | 2d8f030be7c8e1b32906c08e8455ab4b62e281d0 | 0 | roles/foreman_content_datadog | 367 | [
"no_license"
] | [
{
"path": "roles/foreman_content_datadog/tasks/main.yml",
"content": "---\n# tasks file for foreman_content_datadog\n\n- name: \"Vars | Include Datadog content vars\"\n ansible.builtin.include_vars:\n dir: vars\n ignore_files:\n - \"main.yml\"\n extensions:\n - \"yml\"\n ignore_unknow... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 9877,
"all_permissive": false
} |
ansible_role | anthonybudd/s3-from-scratch | ed3b50a45e3263c377d700a4e39ef6fd1a908a39 | 220 | ansible/roles/prereq | 367 | [
"no_license"
] | [
{
"path": "ansible/roles/prereq/tasks/main.yml",
"content": "---\n- name: Set SELinux to disabled state\n selinux:\n state: disabled\n when: ansible_distribution in ['CentOS', 'Red Hat Enterprise Linux']\n\n- name: Enable IPv4 forwarding\n sysctl:\n name: net.ipv4.ip_forward\n value: \"1\"\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1433,
"all_permissive": false
} |
ansible_role | anthonybudd/s3-from-scratch | ed3b50a45e3263c377d700a4e39ef6fd1a908a39 | 220 | ansible/roles/raspberrypi | 367 | [
"no_license"
] | [
{
"path": "ansible/roles/raspberrypi/tasks/prereq/Raspbian.yml",
"content": "---\n- name: Activating cgroup support\n lineinfile:\n path: /boot/cmdline.txt\n regexp: '^((?!.*\\bcgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory\\b).*)$'\n line: '\\1 cgroup_enable=cpuset cgroup_memory=1 cgro... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2481,
"all_permissive": false
} |
ansible_role | anthonybudd/s3-from-scratch | ed3b50a45e3263c377d700a4e39ef6fd1a908a39 | 220 | ansible/roles/reset | 367 | [
"no_license"
] | [
{
"path": "ansible/roles/reset/tasks/main.yml",
"content": "---\n- name: Disable services\n systemd:\n name: \"{{ item }}\"\n state: stopped\n enabled: no\n failed_when: false\n with_items:\n - k3s\n - k3s-node\n\n- name: pkill -9 -f \"k3s/data/[^/]+/bin/containerd-shim-runc\"\n register:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 958,
"all_permissive": false
} |
ansible_role | osherlevi7/dev | 2e1ea5741c2019ce620d8c9834638605c57f5f89 | 1 | ansible/roles/google-authenticator | 367 | [
"permissive"
] | [
{
"path": "ansible/roles/google-authenticator/handlers/main.yaml",
"content": "---\n# handlers file for google_authenticator\n- name: Restart ssh\n service:\n name: ssh\n state: restarted\n",
"license_type": "permissive",
"detected_licenses": [
"Unlicense"
],
"size_bytes": 111
... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 4459,
"all_permissive": true
} |
ansible_role | ttatsato/ansible-playbook-backup | 1c9d540b1ad972d0bccc072ee65dd5496c492e24 | 0 | roles/docker | 367 | [
"no_license"
] | [
{
"path": "roles/docker/tasks/main.yml",
"content": "- name: install docker\n become: yes\n yum: \n name: docker\n\n- name: start service docker\n become: yes\n service:\n name: docker\n state: started\n\n- name: add ec2-user to docker group\n become: yes\n user:\n name: ec2-user\n grou... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 659,
"all_permissive": false
} |
ansible_role | ttatsato/ansible-playbook-backup | 1c9d540b1ad972d0bccc072ee65dd5496c492e24 | 0 | roles/initialize_ec2 | 367 | [
"no_license"
] | [
{
"path": "roles/initialize_ec2/tasks/main.yml",
"content": "- name: install base yum packages\n become: yes\n yum:\n name: \"{{ item }}\"\n with_items:\n - git\n - curl\n - tmux\n - vim\n - mysql\n - gcc\n - jq\n - mlocate\n",
"license_type": "no_license",
"detected_li... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 179,
"all_permissive": false
} |
ansible_role | ttatsato/ansible-playbook-backup | 1c9d540b1ad972d0bccc072ee65dd5496c492e24 | 0 | roles/python | 367 | [
"no_license"
] | [
{
"path": "roles/python/tasks/main.yml",
"content": "- name: install base yum packages\n become: yes\n yum:\n name: \"{{ item }}\"\n with_items:\n - git\n - curl\n - tmux\n - vim\n - mysql\n - mysql-devel \n - jq\n - mlocate\n - gcc\n - gcc-c++\n - make\n - openssl-... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 528,
"all_permissive": false
} |
ansible_role | mosesrenegade/MkII | d0e3e3b93ee21f5119d3cfd341cdb86870bd17d1 | 0 | roles/common | 367 | [
"no_license"
] | [
{
"path": "roles/common/tasks/apt.yml",
"content": "---\n- name: Updating apt cache\n apt: update_cache=yes\n become: true\n ignore_errors: yes",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 90
},
{
"path": "roles/common/tasks/main.yml",
"content": "---\n- ... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 488,
"all_permissive": false
} |
ansible_role | huacongliu/elk-ansible | dd6cd2d9c59274e5830882df1f5689797636ae2a | 1 | playbooks/roles/kafka | 369 | [
"no_license"
] | [
{
"path": "playbooks/roles/kafka/tasks/config.yml",
"content": "---\r\n- name: Config for kafka-zookeeper zookeeper.properties\r\n template:\r\n src: templates/zookeeper.properties.j2\r\n dest: \"{{ kafka_home }}/config/zookeeper.properties\"\r\n- name: Create data dir of kafka-zookeeper\r\n file:\r... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 756,
"all_permissive": false
} |
ansible_role | kiliantyler/dotfiles | 4ddab96a12ad38f4b2760d43ebfc50e8bea802e5 | 1 | ansible/roles/install_programs | 369 | [
"no_license"
] | [
{
"path": "ansible/roles/install_programs/vars/main.yaml",
"content": "asdf:\n- 1password-cli\napt:\n- test\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 34
},
{
"path": "ansible/roles/install_programs/vars/Debian.yaml",
"content": "apt:\n- wget\n- curl\n",... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 387,
"all_permissive": false
} |
ansible_role | kiliantyler/dotfiles | 4ddab96a12ad38f4b2760d43ebfc50e8bea802e5 | 1 | ansible/roles/sudo | 369 | [
"no_license"
] | [
{
"path": "ansible/roles/sudo/tasks/main.yaml",
"content": "# yaml-language-server $schema=https://raw.githubusercontent.com/ansible/ansible-lint/main/src/ansiblelint/schemas/ansible.json\n\n- name: Get current user\n ansible.builtin.shell:\n cmd: \"whoami\"\n register: user\n when: ansible_user is no... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 553,
"all_permissive": false
} |
ansible_role | kiliantyler/dotfiles | 4ddab96a12ad38f4b2760d43ebfc50e8bea802e5 | 1 | ansible/roles/tailscale | 369 | [
"no_license"
] | [
{
"path": "ansible/roles/tailscale/tasks/Debian.yaml",
"content": "- name: Install Tailscale GPG key\n become: true\n apt_key:\n url: https://pkgs.tailscale.com/stable/ubuntu/{{ansible_distribution_release}}.noarmor.gpg\n keyring: /etc/apt/trusted.gpg.d/tailscale.gpg\n state: present\n\n- name: E... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 780,
"all_permissive": false
} |
ansible_role | kiliantyler/dotfiles | 4ddab96a12ad38f4b2760d43ebfc50e8bea802e5 | 1 | ansible/roles/vscode | 369 | [
"no_license"
] | [
{
"path": "ansible/roles/vscode/tasks/Debian.yaml",
"content": "- name: Install Microsoft GPG key\n become: true\n apt_key:\n url: https://packages.microsoft.com/keys/microsoft.asc\n keyring: /etc/apt/trusted.gpg.d/packages.microsoft.gpg\n state: present\n\n- name: Enable VSCode repository\n bec... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 487,
"all_permissive": false
} |
ansible_role | kiliantyler/dotfiles | 4ddab96a12ad38f4b2760d43ebfc50e8bea802e5 | 1 | ansible/roles/zsh | 369 | [
"no_license"
] | [
{
"path": "ansible/roles/zsh/tasks/defaults_finder.yaml",
"content": "# yaml-language-server $schema=https://raw.githubusercontent.com/ansible/ansible-lint/main/src/ansiblelint/schemas/ansible.json\n- name: \"[FINDER] Show file extensions\"\n community.general.osx_defaults:\n domain: com.apple.finder\n ... | {
"task_files": 5,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 8483,
"all_permissive": false
} |
ansible_role | nkhalasi/floo | 924578e796f0d92e5731f482dfc32cb45f107db2 | 0 | roles/common | 369 | [
"no_license"
] | [
{
"path": "roles/common/tasks/main.yml",
"content": "- include_vars: common_vars.yml\n\n- name: Create {{ group }} group\n group: name={{ group }} state=present\n\n- name: Create {{ user }} user\n user:\n name={{ user }}\n comment=\"{{ user_name }}\"\n group={{ group }}\n createhome=yes\n h... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2424,
"all_permissive": false
} |
ansible_role | nkhalasi/floo | 924578e796f0d92e5731f482dfc32cb45f107db2 | 0 | roles/dbtier | 369 | [
"no_license"
] | [
{
"path": "roles/dbtier/tasks/main.yml",
"content": "- name: Install mysql server packages\n apt: name={{ item }} state=present\n with_items:\n - mysql-server\n - mysql-client\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 127
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 127,
"all_permissive": false
} |
ansible_role | nkhalasi/floo | 924578e796f0d92e5731f482dfc32cb45f107db2 | 0 | roles/webtier | 369 | [
"no_license"
] | [
{
"path": "roles/webtier/tasks/main.yml",
"content": "- name: Install apache packages\n apt: name={{ item }} state=present\n with_items:\n - apache2\n - python\n - libapache2-mod-wsgi\n - libmysqlclient18\n - libmysqlclient-dev\n - mysql-client\n\n- name: Disable unused apache modules\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 826,
"all_permissive": false
} |
ansible_role | pfuntner/clamav-onacc | 2832ce4b518fdab6ab2b42510805f4e8629da95d | 1 | roles/clamav-onacc | 369 | [
"no_license"
] | [
{
"path": "roles/clamav-onacc/vars/debian-family.yml",
"content": "cron_package_name: \"cron\"\n\nclamav_cfg_file_name: /etc/clamav/clamd.conf\n\nclamav_clam_user: clamav\n\nclamav_scan_service_name: \"clamav-daemon\"\nclamav_freshclam_service_name: \"clamav-freshclam\"\n\nclamav_freshclam_command: \"/usr/b... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 8,
"total_bytes": 7928,
"all_permissive": false
} |
ansible_role | slopez888/multi-tier-app-networking-ansible | 34ed752bebe8e1722bcce157a25ff1f14ae9c2d7 | 0 | roles/cherwell_close_ticket | 369 | [
"no_license"
] | [
{
"path": "roles/cherwell_close_ticket/tasks/main.yml",
"content": "- name: Close Cherwell ticket\n uri:\n url: \"{{ cherwell_ticket_url }}\"\n method: POST\n body:\n ticket: \"{{ ticket }}\"\n comment: application deployment successful\n body_format: json\n user: \"{{ cherwell_use... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 288,
"all_permissive": false
} |
ansible_role | slopez888/multi-tier-app-networking-ansible | 34ed752bebe8e1722bcce157a25ff1f14ae9c2d7 | 0 | roles/cherwell_create_cmdb | 369 | [
"no_license"
] | [
{
"path": "roles/cherwell_create_cmdb/tasks/main.yml",
"content": "- name: Create Cherwell CMDB record\n uri:\n url: \"{{ cherwell_cmdb_url }}\"\n method: POST\n body:\n payload: \"{{ payload }}\"\n body_format: json\n user: \"{{ cherwell_user }}\"\n password: \"{{ <PASSWORD> }}\"\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 245,
"all_permissive": false
} |
ansible_role | slopez888/multi-tier-app-networking-ansible | 34ed752bebe8e1722bcce157a25ff1f14ae9c2d7 | 0 | roles/cherwell_create_ticket | 369 | [
"no_license"
] | [
{
"path": "roles/cherwell_create_ticket/tasks/main.yml",
"content": "---\n- name: Create Cherwell ticket\n uri:\n url: \"{{ cherwell_create_ticket_url }}\"\n method: POST\n body:\n application_name: multi-tier-application\n user: developer\n cost_center: aa001\n body_format: json... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 335,
"all_permissive": false
} |
ansible_role | slopez888/multi-tier-app-networking-ansible | 34ed752bebe8e1722bcce157a25ff1f14ae9c2d7 | 0 | roles/firewall | 369 | [
"no_license"
] | [
{
"path": "roles/firewall/vars/firewall-secrets.yml",
"content": "username: 'admin'\npassword: '<PASSWORD>'",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 40
},
{
"path": "roles/firewall/tasks/main.yml",
"content": " - name: Grab the credentials from ansible-... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2139,
"all_permissive": false
} |
ansible_role | slopez888/multi-tier-app-networking-ansible | 34ed752bebe8e1722bcce157a25ff1f14ae9c2d7 | 0 | roles/lb | 369 | [
"no_license"
] | [
{
"path": "roles/lb/handlers/main.yml",
"content": "---\n# handlers file for lb\n\n- name: restart \"{{ lb_pkg }}\"\n service:\n name: \"{{ lb_pkg }}\"\n state: restarted",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 115
},
{
"path": "roles/lb/vars/main.ym... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 554,
"all_permissive": false
} |
ansible_role | slopez888/multi-tier-app-networking-ansible | 34ed752bebe8e1722bcce157a25ff1f14ae9c2d7 | 0 | roles/leaf_switch | 369 | [
"no_license"
] | [
{
"path": "roles/leaf_switch/tasks/main.yml",
"content": "# VLAN Configuration\n- name: ensure VLANs exist on switches\n host: \"{{ inventory_hostname }}\"\n nxos_vlan: \n vlan_range: \"{{ vlans }}\"\n state: present \n transport: nxapi\n\n- name: ensure names exist for important vlans\n host: ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1045,
"all_permissive": false
} |
ansible_role | chj9/studynotes | 8e42777b6b0c081cefa79876f1af8ef81df25d68 | 1 | ansible/playbooks/roles/beats-configure | 369 | [
"permissive"
] | [
{
"path": "ansible/playbooks/roles/beats-configure/tasks/main.yml",
"content": "- name: Copy templated configures\n template:\n src: \"{{role_path}}/files/configures/beats/{{item}}-{{group_names[0]}}.yml\"\n dest: \"/etc/{{item}}/{{item}}.yml\"\n mode: 0600\n loop: \"{{ beats }}\"\n",
"licens... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 202,
"all_permissive": true
} |
ansible_role | chj9/studynotes | 8e42777b6b0c081cefa79876f1af8ef81df25d68 | 1 | ansible/playbooks/roles/beats-install | 369 | [
"permissive"
] | [
{
"path": "ansible/playbooks/roles/beats-install/tasks/main.yml",
"content": "---\n#\n# Install filebeat\n#\n\n- name: Set Facts\n set_fact:\n ansible_pkg_suffix: \"{% if ansible_pkg_mgr == 'yum' %}rpm{% elif ansible_pkg_mgr == 'apt' %}deb{% endif %}\"\n beats_architecture: \"{% if ansible_pkg_mgr ==... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1285,
"all_permissive": true
} |
ansible_role | chj9/studynotes | 8e42777b6b0c081cefa79876f1af8ef81df25d68 | 1 | ansible/playbooks/roles/beats-monitor-elasticsearch | 369 | [
"permissive"
] | [
{
"path": "ansible/playbooks/roles/beats-monitor-elasticsearch/templates/filebeat.yml",
"content": "monitoring:\n enabled: true\n elasticsearch:\n hosts: [\"{{ groups['elasticsearch'] | map('extract', hostvars, [host_field]) | join(':9200\", \"') }}:9200\"]\n username: beats_system\n password: \"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 2893,
"all_permissive": true
} |
ansible_role | chj9/studynotes | 8e42777b6b0c081cefa79876f1af8ef81df25d68 | 1 | ansible/playbooks/roles/beats-monitor-kafka | 369 | [
"permissive"
] | [
{
"path": "ansible/playbooks/roles/beats-monitor-kafka/templates/metricbeat.yml",
"content": "monitoring:\n enabled: true\n elasticsearch:\n hosts: [\"http://{{ groups['elasticsearch'] | map('extract', hostvars, [host_field]) | join(':9200\", \"http://') }}:9200\"]\n username: beats_system\n pass... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1135,
"all_permissive": true
} |
ansible_role | chj9/studynotes | 8e42777b6b0c081cefa79876f1af8ef81df25d68 | 1 | ansible/playbooks/roles/beats-monitor-logstash | 369 | [
"permissive"
] | [
{
"path": "ansible/playbooks/roles/beats-monitor-logstash/tasks/main.yml",
"content": "- name: Copy templated filebeat configures\n template:\n src: \"filebeat.yml\"\n dest: \"/etc/filebeat/filebeat.yml\"\n mode: 0644\n\n- name: Copy templated filebeat configures\n template:\n src: \"filebeat-... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 286,
"all_permissive": true
} |
ansible_role | chj9/studynotes | 8e42777b6b0c081cefa79876f1af8ef81df25d68 | 1 | ansible/playbooks/roles/beats-restart | 369 | [
"permissive"
] | [
{
"path": "ansible/playbooks/roles/beats-restart/tasks/main.yml",
"content": "- name: restart {{item}}\n service:\n name: \"{{item}}\"\n state: restarted\n loop: \"{{ beats }}\"\n",
"license_type": "permissive",
"detected_licenses": [
"Apache-2.0"
],
"size_bytes": 100
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 100,
"all_permissive": true
} |
ansible_role | chj9/studynotes | 8e42777b6b0c081cefa79876f1af8ef81df25d68 | 1 | ansible/playbooks/roles/elasticsearch-configure | 369 | [
"permissive"
] | [
{
"path": "ansible/playbooks/roles/elasticsearch-configure/tasks/main.yml",
"content": "---\n#\n# Configure elasticsearch\n#\n\n- name: Copy templated elasticsearch.yml\n template:\n src: \"{{role_path}}/files/configures/elasticsearch/elasticsearch.yml\"\n dest: \"/etc/elasticsearch{{'-'~instance_id ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 868,
"all_permissive": true
} |
ansible_role | chj9/studynotes | 8e42777b6b0c081cefa79876f1af8ef81df25d68 | 1 | ansible/playbooks/roles/elasticsearch-generate-certificate | 369 | [
"permissive"
] | [
{
"path": "ansible/playbooks/roles/elasticsearch-generate-certificate/tasks/main.yml",
"content": "---\n#\n# Generate elasticsearch certificate\n#\n\n- name: Copy ca file\n copy:\n src: certs/elastic-stack-ca.p12\n dest: \"/etc/elasticsearch{{'-'~instance_id if instance_id is defined else ''}}/certs/... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1073,
"all_permissive": true
} |
ansible_role | chj9/studynotes | 8e42777b6b0c081cefa79876f1af8ef81df25d68 | 1 | ansible/playbooks/roles/elasticsearch-install | 369 | [
"permissive"
] | [
{
"path": "ansible/playbooks/roles/elasticsearch-install/tasks/main.yml",
"content": "---\n#\n# Install elasticsearch\n#\n\n- name: Set Facts\n set_fact:\n path_conf: \"/etc/elasticsearch{{'-'~instance_id if instance_id is defined else ''}}\"\n\n- sysctl:\n name: vm.swappiness\n value: 1\n when: ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 4989,
"all_permissive": true
} |
ansible_role | chj9/studynotes | 8e42777b6b0c081cefa79876f1af8ef81df25d68 | 1 | ansible/playbooks/roles/elasticsearch-restart | 369 | [
"permissive"
] | [
{
"path": "ansible/playbooks/roles/elasticsearch-restart/tasks/main.yml",
"content": "- name: stop elasticsearch\n service:\n name: \"elasticsearch{{'-'~instance_id if instance_id is defined else ''}}\"\n state: stopped\n\n- name: start elasticsearch\n service:\n name: \"elasticsearch{{'-'~instan... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 275,
"all_permissive": true
} |
ansible_role | chj9/studynotes | 8e42777b6b0c081cefa79876f1af8ef81df25d68 | 1 | ansible/playbooks/roles/elasticsearch-rolling-restart | 369 | [
"permissive"
] | [
{
"path": "ansible/playbooks/roles/elasticsearch-rolling-restart/tasks/main.yml",
"content": "---\n\n- name: Check number of nodes in the cluster\n shell: \"curl -s -m 2 'localhost:9200/_cat/nodes?h=name' | wc -l\"\n register: nodes_count\n\n- name: Turn off shard reallocation\n shell: \"curl -XPUT local... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1270,
"all_permissive": true
} |
ansible_role | chj9/studynotes | 8e42777b6b0c081cefa79876f1af8ef81df25d68 | 1 | ansible/playbooks/roles/kafka-configure | 369 | [
"permissive"
] | [
{
"path": "ansible/playbooks/roles/kafka-configure/tasks/main.yml",
"content": "---\n#\n# Configure kafka\n#\n\n- name: Copy templated server.properties\n template:\n src: \"{{role_path}}/files/configures/kafka/server.properties\"\n dest: /opt/kafka/config/server.properties\n",
"license_type": "p... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 192,
"all_permissive": true
} |
ansible_role | chj9/studynotes | 8e42777b6b0c081cefa79876f1af8ef81df25d68 | 1 | ansible/playbooks/roles/kafka-install | 369 | [
"permissive"
] | [
{
"path": "ansible/playbooks/roles/kafka-install/tasks/main.yml",
"content": "---\n#\n# Install kafka\n#\n\n- name: Create tmp dir\n file:\n path: \"{{path_tmp}}\"\n state: directory\n\n- name: Copy jdk rpm file\n copy:\n src: \"packages/{{jdk_file}}\"\n dest: \"{{path_tmp}}/{{jdk_file}}\"\n\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1067,
"all_permissive": true
} |
ansible_role | chj9/studynotes | 8e42777b6b0c081cefa79876f1af8ef81df25d68 | 1 | ansible/playbooks/roles/kafka-restart | 369 | [
"permissive"
] | [
{
"path": "ansible/playbooks/roles/kafka-restart/tasks/main.yml",
"content": "---\n#\n# full restart kafka\n#\n\n- name: stop kafka\n service:\n name: kafka\n state: stopped\n\n- name: start kafka\n service:\n name: kafka\n state: started\n",
"license_type": "permissive",
"detected_lic... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 162,
"all_permissive": true
} |
ansible_role | chj9/studynotes | 8e42777b6b0c081cefa79876f1af8ef81df25d68 | 1 | ansible/playbooks/roles/kibana-configure | 369 | [
"permissive"
] | [
{
"path": "ansible/playbooks/roles/kibana-configure/tasks/main.yml",
"content": "---\n#\n# Install elasticsearch\n#\n\n- name: Copy templated kibana.yml\n template:\n src: \"{{role_path}}/files/configures/kibana/kibana.yml\"\n dest: /etc/kibana/kibana.yml\n owner: root\n group: kibana\n mode... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 221,
"all_permissive": true
} |
ansible_role | chj9/studynotes | 8e42777b6b0c081cefa79876f1af8ef81df25d68 | 1 | ansible/playbooks/roles/kibana-install | 369 | [
"permissive"
] | [
{
"path": "ansible/playbooks/roles/kibana-install/tasks/main.yml",
"content": "---\n#\n# Install kibana\n#\n# Note a lot of logstash/ES activity happens here too\n# Because of service ordering.\n\n- name: Create tmp dir\n file:\n path: \"{{path_tmp}}/kibana-plugins\"\n state: directory\n\n- name: Cop... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 981,
"all_permissive": true
} |
ansible_role | chj9/studynotes | 8e42777b6b0c081cefa79876f1af8ef81df25d68 | 1 | ansible/playbooks/roles/logstash-configure | 369 | [
"permissive"
] | [
{
"path": "ansible/playbooks/roles/logstash-configure/tasks/main.yml",
"content": "---\n#\n# Configure logstash\n#\n\n- name: Copy templated logstash.yml\n template:\n src: \"{{role_path}}/files/configures/logstash/logstash.yml\"\n dest: /etc/logstash/logstash.yml\n owner: root\n group: root\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1430,
"all_permissive": true
} |
ansible_role | chj9/studynotes | 8e42777b6b0c081cefa79876f1af8ef81df25d68 | 1 | ansible/playbooks/roles/logstash-install | 369 | [
"permissive"
] | [
{
"path": "ansible/playbooks/roles/logstash-install/tasks/main.yml",
"content": "---\n#\n# Install logstash\n#\n\n- name: mount tmp dir with exec\n shell: |\n sed -i '/ \\/tmp/s/,noexec//g' /etc/fstab \\\n && sed -i '/ \\/tmp/s/noexec,//g' /etc/fstab \\\n && sed -i '/ \\/tmp/s/noexec//g' /etc/fsta... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1324,
"all_permissive": true
} |
ansible_role | chj9/studynotes | 8e42777b6b0c081cefa79876f1af8ef81df25d68 | 1 | ansible/playbooks/roles/system-stop-firewall | 369 | [
"permissive"
] | [
{
"path": "ansible/playbooks/roles/system-stop-firewall/tasks/main.yml",
"content": "---\n- name: stop iptables\n ignore_errors: yes\n service:\n name: iptables\n enabled: false\n state: stopped\n\n- name: stop firewalld\n ignore_errors: yes\n service:\n name: firewalld\n enabled: false\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 347,
"all_permissive": true
} |
ansible_role | chj9/studynotes | 8e42777b6b0c081cefa79876f1af8ef81df25d68 | 1 | ansible/playbooks/roles/zookeeper-configure | 369 | [
"permissive"
] | [
{
"path": "ansible/playbooks/roles/zookeeper-configure/tasks/main.yml",
"content": "---\n#\n# Configure Zookeeper\n#\n\n- name: Copy templated zoo.cfg\n template:\n src: \"{{role_path}}/files/configures/zookeeper/zoo.cfg\"\n dest: /opt/zookeeper/conf/zoo.cfg\n\n- name: Copy zookeeper myid\n template... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 297,
"all_permissive": true
} |
ansible_role | chj9/studynotes | 8e42777b6b0c081cefa79876f1af8ef81df25d68 | 1 | ansible/playbooks/roles/zookeeper-install | 369 | [
"permissive"
] | [
{
"path": "ansible/playbooks/roles/zookeeper-install/tasks/main.yml",
"content": "---\n#\n# Install Zookeeper\n#\n\n- name: Create tmp dir\n file:\n path: \"{{path_tmp}}\"\n state: directory\n\n- name: Copy jdk rpm file\n copy:\n src: \"packages/{{jdk_file}}\"\n dest: \"{{path_tmp}}/{{jdk_file... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 958,
"all_permissive": true
} |
ansible_role | torgiren/SZZ | 08d6c3fa86bc3c62a0665c350eac8cf90eeb6fe7 | 0 | roles/centos | 369 | [
"no_license"
] | [
{
"path": "roles/centos/tasks/main.yml",
"content": "- name: Instalacja libselinux-python\n yum: name=libselinux-python state=latest\n- name: Dodawanie repo epel\n copy: src=epel.repo dest=/etc/yum.repos.d/epel.repo owner=root group=root mode=0644\n- name: Dodawanie klucza repo epel\n copy: src=RPM-GPG-K... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 479,
"all_permissive": false
} |
ansible_role | torgiren/SZZ | 08d6c3fa86bc3c62a0665c350eac8cf90eeb6fe7 | 0 | roles/common | 369 | [
"no_license"
] | [
{
"path": "roles/common/tasks/main.yml",
"content": "#- name: instalacja nfs\n# apt: name=nfs-common state=latest\n#- name: Tworzenie katalogu\n# file: path=/datastore state=directory\n#- name: dodawanie zasobu\n# mount: name=/datastore src={{hostvars[groups['datastore'][0]]['ansible_eth0']['ipv4']['addr... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 1682,
"all_permissive": false
} |
ansible_role | torgiren/SZZ | 08d6c3fa86bc3c62a0665c350eac8cf90eeb6fe7 | 0 | roles/datastore | 369 | [
"no_license"
] | [
{
"path": "roles/datastore/tasks/main.yml",
"content": "- name: instalacja nfs\n apt: name=nfs-kernel-server state=installed\n- name: tworzenie katalogu na projekty\n file: path=/projects state=directory\n- name: konfiguracja nfs\n copy: src=exports dest=/etc/exports\n notify:\n - exportfs\n - res... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 702,
"all_permissive": false
} |
ansible_role | torgiren/SZZ | 08d6c3fa86bc3c62a0665c350eac8cf90eeb6fe7 | 0 | roles/director | 369 | [
"no_license"
] | [
{
"path": "roles/director/files/ifdownup.sh",
"content": "#!/bin/bash\nifdown -a\nifup -a\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 30
},
{
"path": "roles/director/tasks/centos.yml",
"content": "- name: instalacja ipvsadm\n yum: name=ipvsadm state=late... | {
"task_files": 4,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 7,
"total_bytes": 1372,
"all_permissive": false
} |
ansible_role | torgiren/SZZ | 08d6c3fa86bc3c62a0665c350eac8cf90eeb6fe7 | 0 | roles/dumpvars | 369 | [
"no_license"
] | [
{
"path": "roles/dumpvars/tasks/main.yml",
"content": "- name: Dump all vars\n template: src=dump.j2 dest=/tmp/ansible.all\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 68
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 68,
"all_permissive": false
} |
ansible_role | torgiren/SZZ | 08d6c3fa86bc3c62a0665c350eac8cf90eeb6fe7 | 0 | roles/haproxy | 369 | [
"no_license"
] | [
{
"path": "roles/haproxy/tasks/centos.yml",
"content": "- name: Instalacja HAProxy\n yum: name=haproxy state=latest\n\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 61
},
{
"path": "roles/haproxy/templates/haproxy.cfg.jinja2",
"content": "global\n\tlog 127.... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 2245,
"all_permissive": false
} |
ansible_role | torgiren/SZZ | 08d6c3fa86bc3c62a0665c350eac8cf90eeb6fe7 | 0 | roles/http | 369 | [
"no_license"
] | [
{
"path": "roles/http/templates/default.j2",
"content": "{% for i in group_names %}\n{%\tif inventory_hostname in groups[i] and i[:5] == \"proj_\" %}\nupstream pula_{{i[5:]}} {\n{% \t\tfor j in groups[i] %}\n{% \t\t\tif j in groups['workers'] %}\nserver {{hostvars[j]['ansible_eth0']['ipv4']['address']}}:{{p... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1165,
"all_permissive": false
} |
ansible_role | torgiren/SZZ | 08d6c3fa86bc3c62a0665c350eac8cf90eeb6fe7 | 0 | roles/nrpe | 369 | [
"no_license"
] | [
{
"path": "roles/nrpe/handlers/main.yml",
"content": "- name: restart-nrpe\n service: name={{nrpe_service}} state=restarted\n# service: name=nagios-nrpe-server state=restarted\n# when: ansible_os_family == \"Debina\"\n# service: name=nrpe state=restarted\n# when: ansible_os_family == \"RedHat\"\n- name... | {
"task_files": 5,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 11,
"total_bytes": 8757,
"all_permissive": false
} |
ansible_role | torgiren/SZZ | 08d6c3fa86bc3c62a0665c350eac8cf90eeb6fe7 | 0 | roles/realserver | 369 | [
"no_license"
] | [
{
"path": "roles/realserver/templates/vip0.jinja2",
"content": "auto vip0\n{% for i in group_names %}\n{%\tif inventory_hostname in groups[i] and i[:5] == \"proj_\" %}\niface vip0 inet static\n\taddress {{projects[i[5:]]['address']}}\n\tnetmask 255.255.255.0\n{% \tendif %}\n{% endfor %}\n",
"license_typ... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 1131,
"all_permissive": false
} |
ansible_role | torgiren/SZZ | 08d6c3fa86bc3c62a0665c350eac8cf90eeb6fe7 | 0 | roles/worker | 369 | [
"no_license"
] | [
{
"path": "roles/worker/handlers/main.yml",
"content": "- name: restart_php\n service: name=php5-fpm state=restarted\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 61
},
{
"path": "roles/worker/templates/pool.jinja2",
"content": "{% for i in group_names %}\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 721,
"all_permissive": false
} |
ansible_role | raviraja-m/rancher-ansible-role | fff9e34b56902ebf2c3ade29e455e234daf3fb5f | 1 | roles/rancher | 369 | [
"no_license"
] | [
{
"path": "roles/rancher/templates/worker.j2",
"content": "#!/bin/bash\nsudo docker run --rm -it --privileged -v /var/run/docker.sock:/var/run/docker.sock rancher/agent http://{{ master.instances[0].public_ip }}:8080\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 157
... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 3153,
"all_permissive": false
} |
ansible_role | loicfrering/ansible-playbooks | 95a7135f51639032b40e547d835babc3bb01ccab | 0 | roles/common | 371 | [
"no_license"
] | [
{
"path": "roles/common/tasks/oh-my-zsh.yml",
"content": "---\n\n- name: Clone oh-my-zsh\n git: repo=https://github.com/robbyrussell/oh-my-zsh.git\n dest={{ ansible_env.HOME }}/.oh-my-zsh\n\n- name: Copy .zshrc from the template\n command: cp {{ ansible_env.HOME }}/.oh-my-zsh/templates/zshrc.zsh-tem... | {
"task_files": 4,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 1140,
"all_permissive": false
} |
ansible_role | fedora-infra/fedora-messaging-git-hook | 210ea8575ff8811ae437d8ff5c860873a432c23a | 0 | devel/ansible/roles/dev | 371 | [
"no_license"
] | [
{
"path": "devel/ansible/roles/dev/tasks/main.yml",
"content": "---\n- name: Install RPM packages\n dnf:\n name:\n - python3-pip\n - tox\n - krb5-devel\n - libpq-devel\n - gcc\n state: present\n\n- name: install python deps\n shell: pip install -e .[dev]\n become: true\n b... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 581,
"all_permissive": false
} |
ansible_role | ghyde/my-ansible-playbooks | c684efad6b7835791d573aff9fd169f8276f9b1f | 2 | roles/fedora_laptop | 371 | [
"no_license"
] | [
{
"path": "roles/fedora_laptop/bootstrap.sh",
"content": "#!/bin/bash\n\n# Install Ansible and its dependencies before executing this role.\n\nif [ \"$(id -u)\" != \"0\" ]; then\n echo \"This script must be run as root\" 1>&2\n exit 1\nfi\n\ndnf install -y python2-dnf libselinux-python ansible\necho \"l... | {
"task_files": 12,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 21,
"total_bytes": 20111,
"all_permissive": false
} |
ansible_role | ghyde/my-ansible-playbooks | c684efad6b7835791d573aff9fd169f8276f9b1f | 2 | roles/fluentd | 371 | [
"no_license"
] | [
{
"path": "roles/fluentd/README.md",
"content": "Installs Fluentd on servers running Openshift.\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 47
},
{
"path": "roles/fluentd/tasks/uninstall.yml",
"content": "---\n- include_vars: ../defaults/main.yml\n\n- nam... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 7,
"total_bytes": 4181,
"all_permissive": false
} |
ansible_role | HFRibeiro/ansiblePlaybooks | 50c42b5501f5c1f5d6a11dbea189697057ca7731 | 0 | TestsRemote/roles/basic | 371 | [
"no_license"
] | [
{
"path": "TestsRemote/roles/basic/tasks/main.yml",
"content": "- name: \"Installing Packs\"\n apt: pkg={{ item }} state=present\n with_items:\n - vim\n - dnsutils\n - arduino\n\n- name: \"Copying files\"\n copy: src=../files/file2.txt dest=/home/code owner=code group=code mode=0644\n",
"license_t... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 214,
"all_permissive": false
} |
ansible_role | HFRibeiro/ansiblePlaybooks | 50c42b5501f5c1f5d6a11dbea189697057ca7731 | 0 | compassLocalhost/roles/docker | 371 | [
"no_license"
] | [
{
"path": "compassLocalhost/roles/docker/tasks/main.yml",
"content": "- name: get the username running the deploy\n become: false\n local_action: command whoami\n register: username_on_the_host\n\n- name: Download mongodb-compass_1.12.1_amd64\n get_url: \n url=\"https://downloads.mongodb.com/compass/... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 513,
"all_permissive": false
} |
ansible_role | HFRibeiro/ansiblePlaybooks | 50c42b5501f5c1f5d6a11dbea189697057ca7731 | 0 | dockerLocalhost/roles/docker | 371 | [
"no_license"
] | [
{
"path": "dockerLocalhost/roles/docker/tasks/main.yml",
"content": "- name: \"Remove DockerPacks\"\n apt: pkg={{ item }} state=absent\n with_items:\n - docker\n - docker-engine\n - docker.io\n - containerd\n - runc\n\n- name: Update and upgrade apt packages\n become: true\n apt:\n upgrade: yes\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2417,
"all_permissive": false
} |
ansible_role | HFRibeiro/ansiblePlaybooks | 50c42b5501f5c1f5d6a11dbea189697057ca7731 | 0 | ubuntu18_04/roles/chrome | 371 | [
"no_license"
] | [
{
"path": "ubuntu18_04/roles/chrome/tasks/main.yml",
"content": "# tasks file for chrome\n---\n- include: repository.yml\n tags:\n - configuration\n - chrome\n - chrome-repository\n\n- include: install.yml\n tags:\n - configuration\n - chrome\n - chrome-install\n",
"license_type": "n... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 1149,
"all_permissive": false
} |
ansible_role | HFRibeiro/ansiblePlaybooks | 50c42b5501f5c1f5d6a11dbea189697057ca7731 | 0 | ubuntu18_04/roles/npm_node | 371 | [
"no_license"
] | [
{
"path": "ubuntu18_04/roles/npm_node/tasks/main.yml",
"content": "- name: Update and upgrade apt packages\n become: true\n apt:\n upgrade: yes\n update_cache: yes\n cache_valid_time: 86400 #One day\n\n- name: \"Installing curl\"\n apt: pkg={{ item }} state=present\n with_items:\n - curl\n\n- ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 524,
"all_permissive": false
} |
ansible_role | HFRibeiro/ansiblePlaybooks | 50c42b5501f5c1f5d6a11dbea189697057ca7731 | 0 | ubuntu18_04/roles/vscode | 371 | [
"no_license"
] | [
{
"path": "ubuntu18_04/roles/vscode/tasks/main.yml",
"content": "---\n- name: install dependencies (apt)\n become: yes\n apt:\n name:\n - ca-certificates\n - apt-transport-https\n - gconf2\n - libasound2\n - libgtk2.0-0\n - libxss1\n - python3-pip\n state: present\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 816,
"all_permissive": false
} |
ansible_role | hikaushik/3tierInmemory | 6bf983bd6cc9688f5c9ce13a02156eaff7f40ed1 | 0 | roles/inmemory | 371 | [
"no_license"
] | [
{
"path": "roles/inmemory/vars/main.yml",
"content": "---\n# vars file for inmemory",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 28
},
{
"path": "roles/inmemory/handlers/main.yml",
"content": "---\n# handlers file for inmemory",
"license_type": "no_licen... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 799,
"all_permissive": false
} |
ansible_role | hikaushik/3tierInmemory | 6bf983bd6cc9688f5c9ce13a02156eaff7f40ed1 | 0 | roles/pretask | 371 | [
"no_license"
] | [
{
"path": "roles/pretask/tasks/main.yml",
"content": "---\n# tasks file for pretask\n- name: create the yum repo\n copy:\n src: open_three-tier-app.repo\n dest: /etc/yum.repos.d/open_three-tier-app.repo\n mode: 0644 \n",
"license_type": "no_license",
"detected_licenses": [],
"size_byte... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 167,
"all_permissive": false
} |
ansible_role | vijay-bairwa-devops/ansible-ec2-webserver-automation | 992e1edf7ac5ba4683b0a1e774887fe5fe8aa9a2 | 0 | ansible/roles/apache | 371 | [
"no_license"
] | [
{
"path": "ansible/roles/apache/tasks/main.yml",
"content": "- name: Install Apache\n yum:\n name: httpd\n state: present\n\n- name: Deploy index.html\n template:\n src: index.html.j2\n dest: /var/www/html/index.html\n\n- name: Start Apache service\n service:\n name: httpd\n state: star... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 437,
"all_permissive": false
} |
ansible_role | vijay-bairwa-devops/ansible-ec2-webserver-automation | 992e1edf7ac5ba4683b0a1e774887fe5fe8aa9a2 | 0 | ansible/roles/nginx | 371 | [
"no_license"
] | [
{
"path": "ansible/roles/nginx/tasks/main.yml",
"content": "- name: Install Nginx\n yum:\n name: nginx\n state: present\n\n- name: Deploy index.html\n template:\n src: index.html.j2\n dest: /usr/share/nginx/html/index.html\n\n- name: Start Nginx service\n service:\n name: nginx\n state:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 261,
"all_permissive": false
} |
ansible_role | seomin3/ansible-openstack | 5c042c1269cecfa3bcc2c7ee9a4ca3045e6acbd4 | 0 | roles/openstack-configuration | 371 | [
"no_license"
] | [
{
"path": "roles/openstack-configuration/tasks/neutron.yml",
"content": "---\n\n- name: set ml2_conf.ini\n template:\n src: neutron/ml2_conf.ini.j2\n dest: /etc/neutron/plugins/ml2/ml2_conf.ini\n backup: yes\n notify:\n - Restart neutron server\n - Restart openvswitch agent\n\n- name: set l... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 1260,
"all_permissive": false
} |
ansible_role | seomin3/ansible-openstack | 5c042c1269cecfa3bcc2c7ee9a4ca3045e6acbd4 | 0 | roles/openstack-prepare | 371 | [
"no_license"
] | [
{
"path": "roles/openstack-prepare/tasks/main.yml",
"content": "---\n- fail: msg=\"only support the CentOS\"\n when: ansible_distribution != \"CentOS\"\n\n- include: centos-universal.yml\n\n- include: centos-cont.yml\n when: \"'openstack-cont' in group_names\"\n- include: centos-comp.yml\n when: \"'opens... | {
"task_files": 4,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 8,
"total_bytes": 2544,
"all_permissive": false
} |
ansible_role | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/android | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/android/tasks/macbook.yml",
"content": "- name: install homebrew_tap\n action: homebrew_tap name={{item}} state=present\n with_items:\n - homebrew/binary\n - homebrew/dupes\n - caskroom/cask\n\n- name: update homebrew\n homebrew: update_homebrew=yes\n\n- name: homeb... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 665,
"all_permissive": false
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.