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 | rajeshpeta/Accenture-ccd-deployment | 7f413c1658b2c3d0030ed2e356c535722dd6d933 | 0 | roles/java | 7,304 | [
"no_license"
] | [
{
"path": "roles/java/tasks/main.yml",
"content": "- name: install java\n become: yes\n apt: name= {{java-version}} state=present\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 79
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 79,
"all_permissive": false
} |
ansible_role | rajeshpeta/Accenture-ccd-deployment | 7f413c1658b2c3d0030ed2e356c535722dd6d933 | 0 | roles/jenkins | 7,304 | [
"no_license"
] | [
{
"path": "roles/jenkins/tasks/main.yml",
"content": "- name: jenkins\n become: yes\n apt: name=jenkins state=present\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 64
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 64,
"all_permissive": false
} |
ansible_role | rajeshpeta/Accenture-ccd-deployment | 7f413c1658b2c3d0030ed2e356c535722dd6d933 | 0 | roles/maven | 7,304 | [
"no_license"
] | [
{
"path": "roles/maven/tasks/main.yml",
"content": "- name: install maven\n become: yes\n apt: name=maven state=present\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 | rajeshpeta/Accenture-ccd-deployment | 7f413c1658b2c3d0030ed2e356c535722dd6d933 | 0 | roles/mongodb | 7,304 | [
"no_license"
] | [
{
"path": "roles/mongodb/tasks/main.yml",
"content": "- name: install mongodb\n become: yes\n apt: name=mongodb state=present\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 72
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 72,
"all_permissive": false
} |
ansible_role | rajeshpeta/Accenture-ccd-deployment | 7f413c1658b2c3d0030ed2e356c535722dd6d933 | 0 | roles/monit | 7,304 | [
"no_license"
] | [
{
"path": "roles/monit/tasks/main.yml",
"content": "- name: install monit\n become: yes\n apt: name=monit state=present\n\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 69
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 69,
"all_permissive": false
} |
ansible_role | rajeshpeta/Accenture-ccd-deployment | 7f413c1658b2c3d0030ed2e356c535722dd6d933 | 0 | roles/mysql | 7,304 | [
"no_license"
] | [
{
"path": "roles/mysql/tasks/main.yml",
"content": "- name: install mysql-server\n become: yes\n apt: name=mysql-server state=present\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 82
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 82,
"all_permissive": false
} |
ansible_role | rajeshpeta/Accenture-ccd-deployment | 7f413c1658b2c3d0030ed2e356c535722dd6d933 | 0 | roles/nagios | 7,304 | [
"no_license"
] | [
{
"path": "roles/nagios/tasks/main.yml",
"content": "- name: install nagios\n become: yes\n apt: name=nagios state=present\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 70
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 70,
"all_permissive": false
} |
ansible_role | rajeshpeta/Accenture-ccd-deployment | 7f413c1658b2c3d0030ed2e356c535722dd6d933 | 0 | roles/tomcat | 7,304 | [
"no_license"
] | [
{
"path": "roles/tomcat/tasks/main.yml",
"content": "- name: install tomcat\n become: yes\n get_url: \n url: https://www-us.apache.org/dist/tomcat/tomcat-8/v8.5.24/bin/apache-tomcat-8.5.24.zip\n dest: /home/sathish/tomcat\n\n- name: unzip tomcat\n become: yes\n unarchive:\n src: /home/sath... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 320,
"all_permissive": false
} |
ansible_role | thuvh/hadoop-lab | 793c2cbc293b5a34a87ddc568562b492bac04d46 | 0 | ansible/roles/data_manager_node | 7,304 | [
"no_license"
] | [
{
"path": "ansible/roles/data_manager_node/tasks/main.yml",
"content": "---\n- name: stop datanode\n supervisorctl:\n name: datanode\n state: stopped\n become: yes\n when: node_config or node_stop\n ignore_errors: yes\n\n- name: stop nodemanager\n supervisorctl:\n name: nodemanager\n state:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1457,
"all_permissive": false
} |
ansible_role | thuvh/hadoop-lab | 793c2cbc293b5a34a87ddc568562b492bac04d46 | 0 | ansible/roles/disk | 7,304 | [
"no_license"
] | [
{
"path": "ansible/roles/disk/tasks/main.yaml",
"content": "- name: create data partition\n parted:\n device: /dev/sdb\n align: optimal\n label: gpt\n name: gpt\n number: 1\n state: present\n become: yes\n- name: create filesystem data partition\n filesystem:\n fstype: ext4\n dev:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 411,
"all_permissive": false
} |
ansible_role | thuvh/hadoop-lab | 793c2cbc293b5a34a87ddc568562b492bac04d46 | 0 | ansible/roles/hadoop | 7,304 | [
"no_license"
] | [
{
"path": "ansible/roles/hadoop/tasks/main.yml",
"content": "---\n- include: setup.yml\n when: hadoop_install is defined and hadoop_install\n- include: config.yml\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 100
},
{
"path": "ansible/roles/hadoop/templates/ya... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 4558,
"all_permissive": false
} |
ansible_role | thuvh/hadoop-lab | 793c2cbc293b5a34a87ddc568562b492bac04d46 | 0 | ansible/roles/history_server | 7,304 | [
"no_license"
] | [
{
"path": "ansible/roles/history_server/tasks/main.yml",
"content": "---\n- name: stop historyserver\n supervisorctl:\n name: historyserver\n state: stopped\n become: yes\n when: historyserver_config or historyserver_stop\n ignore_errors: yes\n\n- name: Template a file to /etc/supervisor/conf.d/ha... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 638,
"all_permissive": false
} |
ansible_role | thuvh/hadoop-lab | 793c2cbc293b5a34a87ddc568562b492bac04d46 | 0 | ansible/roles/hive | 7,304 | [
"no_license"
] | [
{
"path": "ansible/roles/hive/tasks/hiveserver2.yml",
"content": "---\n- name: create hiveserver2-site.xml\n template:\n src: hiveserver2/hiveserver2-site.xml.j2\n dest: \"/home/{{ hive_user }}/{{ conf_directory }}/hiveserver2-site.xml\"\n remote_user: \"{{ hive_user }}\"\n\n- name: link hiveserver2... | {
"task_files": 5,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 10,
"total_bytes": 5758,
"all_permissive": false
} |
ansible_role | thuvh/hadoop-lab | 793c2cbc293b5a34a87ddc568562b492bac04d46 | 0 | ansible/roles/hosts | 7,304 | [
"no_license"
] | [
{
"path": "ansible/roles/hosts/tasks/main.yml",
"content": "---\n- name: remove 127.0.1.1\n lineinfile:\n path: /etc/hosts\n regexp: '^127\\.0\\.1\\.1'\n state: absent\n become: yes\n\n- name: remove 127.0.0.1\n lineinfile:\n path: /etc/hosts\n regexp: '^127\\.0\\.0\\.1'\n state: absent... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 636,
"all_permissive": false
} |
ansible_role | thuvh/hadoop-lab | 793c2cbc293b5a34a87ddc568562b492bac04d46 | 0 | ansible/roles/java | 7,304 | [
"no_license"
] | [
{
"path": "ansible/roles/java/tasks/ubuntu.yml",
"content": "---\n- name: Only run \"update_cache=yes\" if the last one is more than 3600 seconds ago\n apt:\n update_cache: yes\n cache_valid_time: 3600\n become: yes\n- name: Upgrade all packages to the latest version\n apt:\n upgrade: true\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 769,
"all_permissive": false
} |
ansible_role | thuvh/hadoop-lab | 793c2cbc293b5a34a87ddc568562b492bac04d46 | 0 | ansible/roles/namenode | 7,304 | [
"no_license"
] | [
{
"path": "ansible/roles/namenode/tasks/main.yml",
"content": "---\n- name: stop namenode\n supervisorctl:\n name: namenode\n state: stopped\n become: yes\n when: namenode_config or namenode_stop\n ignore_errors: yes\n\n- name: format namenode (force)\n shell: /bin/bash -lc \"{{ hadoop_home }}/bi... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1129,
"all_permissive": false
} |
ansible_role | thuvh/hadoop-lab | 793c2cbc293b5a34a87ddc568562b492bac04d46 | 0 | ansible/roles/os | 7,304 | [
"no_license"
] | [
{
"path": "ansible/roles/os/tasks/main.yml",
"content": "---\n- include: ubuntu.yml\n when: ansible_os_family == 'Debian'\n- name: Make sure a service ntp is stopped\n systemd:\n state: stopped\n name: ntp\n become: yes\n- name: enable service ntp\n systemd:\n name: ntp\n enabled: yes\n bec... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1063,
"all_permissive": false
} |
ansible_role | thuvh/hadoop-lab | 793c2cbc293b5a34a87ddc568562b492bac04d46 | 0 | ansible/roles/profile | 7,304 | [
"no_license"
] | [
{
"path": "ansible/roles/profile/tasks/main.yml",
"content": "---\n- name: update profile in home\n template:\n src: _profile.j2\n dest: \"/home/{{ user }}/.profile\"\n remote_user: \"{{ user }}\"",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 133
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 133,
"all_permissive": false
} |
ansible_role | thuvh/hadoop-lab | 793c2cbc293b5a34a87ddc568562b492bac04d46 | 0 | ansible/roles/proxy_server | 7,304 | [
"no_license"
] | [
{
"path": "ansible/roles/proxy_server/tasks/main.yml",
"content": "---\n- name: stop proxyserver\n supervisorctl:\n name: proxyserver\n state: stopped\n become: yes\n when: proxyserver_config or proxyserver_stop\n ignore_errors: yes\n\n- name: Template a file to /etc/supervisor/conf.d/hadoop.conf\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 913,
"all_permissive": false
} |
ansible_role | thuvh/hadoop-lab | 793c2cbc293b5a34a87ddc568562b492bac04d46 | 0 | ansible/roles/resource_manager | 7,304 | [
"no_license"
] | [
{
"path": "ansible/roles/resource_manager/templates/hadoop.conf.j2",
"content": "[program:resourcemanager]\ncommand={{ hadoop_home }}/bin/yarn resourcemanager\nprocess_name=%(program_name)s\nnumprocs=1\ndirectory={{ hadoop_home }}\nautostart=true\nautorestart=true\nstartsecs=10\nstartretries=3\nuser={{ hado... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 961,
"all_permissive": false
} |
ansible_role | thuvh/hadoop-lab | 793c2cbc293b5a34a87ddc568562b492bac04d46 | 0 | ansible/roles/timeline_server | 7,304 | [
"no_license"
] | [
{
"path": "ansible/roles/timeline_server/tasks/main.yml",
"content": "---\n- name: stop historyserver\n supervisorctl:\n name: historyserver\n state: stopped\n become: yes\n ignore_errors: yes\n\n- name: Template a file to /etc/supervisor/conf.d/hadoop.conf\n template:\n src: hadoop.conf.j2\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 898,
"all_permissive": false
} |
ansible_role | thuvh/hadoop-lab | 793c2cbc293b5a34a87ddc568562b492bac04d46 | 0 | ansible/roles/user | 7,304 | [
"no_license"
] | [
{
"path": "ansible/roles/user/tasks/main.yml",
"content": "---\n- name: Add user\n user: name={{user}} shell=/bin/bash append=yes\n become: yes\n register: user_created\n when: add_user\n\n- name: Create a ssh directory if it does not exist\n file:\n path: /home/{{ user }}/.ssh\n owner: \"{{ user... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 918,
"all_permissive": false
} |
ansible_role | Saymeis/ansible | a45f9e63c4c98572025bc0196bd3c0c02b3e0dbd | 0 | roles/postgres-exporter | 7,304 | [
"no_license"
] | [
{
"path": "roles/postgres-exporter/tasks/install.yml",
"content": "---\n- name: create postgres_exporter system group\n # group:\n ansible.builtin.group:\n name: \"{{ postgres_exporter_system_group }}\"\n system: true\n state: present\n when: postgres_exporter_system_group != \"root\"\n\n- name:... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 7,
"total_bytes": 5109,
"all_permissive": false
} |
ansible_role | phamtiendung22/ansible | 5eae5d16a7e638824dc90e3069e2fc2ac1ac3c68 | 0 | roles/db_servers | 7,304 | [
"no_license"
] | [
{
"path": "roles/db_servers/tasks/main.yml",
"content": "- name: install mariadb ubuntu\n tags: db, mariadb, ubuntu\n apt:\n name:\n - mariadb-server\n state: latest\n when: ansible_distribution == \"Ubuntu\"\n\n#centos\n- name: install mariadb CentOS\n tags: db, mariadb, CentOS\n dnf:\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 320,
"all_permissive": false
} |
ansible_role | phamtiendung22/ansible | 5eae5d16a7e638824dc90e3069e2fc2ac1ac3c68 | 0 | roles/web_servers | 7,304 | [
"no_license"
] | [
{
"path": "roles/web_servers/tasks/main.yml",
"content": "- name: install apache2 ubuntu\n tags: web, apache2, ubuntu\n apt:\n name:\n - apache2\n - libapache2-mod-php\n state: latest\n when: ansible_distribution == \"Ubuntu\"\n\n#centos\n- name: install apache2 CentOS\n tags: web, apach... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 551,
"all_permissive": false
} |
ansible_role | Romanow/ansible-mongo | 792f1e990f0574e0bd52568f3a9bc1c41ee10423 | 0 | ansible/roles/basic | 7,311 | [
"no_license"
] | [
{
"path": "ansible/roles/basic/tasks/main.yml",
"content": "---\n# file: roles/basic/tasks/main.yml\n- name: Install apt packages\n become: yes\n apt:\n name: \"{{ apt_packages}}\"\n cache_valid_time: 86400\n update_cache: yes\n\n- name: Install pip packages\n pip:\n name: \"{{ pip_packages}}... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 544,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | examples/pdns/roles/addon | 7,311 | [
"no_license"
] | [
{
"path": "examples/pdns/roles/addon/tasks/ddclient.yml",
"content": "---\n# - name: install epel-release\n# yum:\n# name: epel-release\n# become: True\n# when: ansible_distribution != 'Amazon'\n#\n- name: get package list\n yum:\n list: epel-release\n register: pkg_list\n when: ansible_dist... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 3816,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | examples/pdns/roles/certbot-runner | 7,311 | [
"no_license"
] | [
{
"path": "examples/pdns/roles/certbot-runner/tasks/main.yml",
"content": "---\n- name: install docker api and jinja2\n pip:\n name:\n - docker\n - jinja2\n - certbot-pdns\n - schedule\n state: present\n- name: install configure\n copy: src=certbot-runner dest=/usr/sbin mode=0775... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 7335,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | examples/pdns/roles/powerdns-admin | 7,311 | [
"no_license"
] | [
{
"path": "examples/pdns/roles/powerdns-admin/tasks/main.yml",
"content": "- name: install create admin script\n copy: src=create_admin.py dest=/app/ mode=0775\n# support proxy environment\n# avoid fail to helthcheck CMD wget, caused by the busybox version wget do not support no_proxy\n# we use GNU version... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1407,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | examples/pdns/roles/powerdns-init | 7,311 | [
"no_license"
] | [
{
"path": "examples/pdns/roles/powerdns-init/tasks/main.yml",
"content": "---\n- name: get my public IP\n ipify_facts:\n delegate_to: \"{{item}}\"\n delegate_facts: True\n when: hive_provider not in ['vagrant']\n loop: \"{{ groups['hives'] | intersect(groups[hive_stage]) }}\"\n- name: set published\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1910,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | examples/pdns/roles/powerdns-initdb | 7,311 | [
"no_license"
] | [
{
"path": "examples/pdns/roles/powerdns-initdb/tasks/main.yml",
"content": "---\n- name: put initialize script\n copy: src=powerdns-init.sql dest=/docker-entrypoint-initdb.d/\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 98
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 98,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | examples/pdns/roles/proxy-configure | 7,311 | [
"no_license"
] | [
{
"path": "examples/pdns/roles/proxy-configure/tasks/main.yml",
"content": "---\n- name: install docker api and jinja2\n pip:\n name:\n - docker\n - jinja2\n - six\n state: present\n- name: install configure\n copy: src=proxy-configure dest=/usr/sbin mode=0775\n",
"license_type": ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 4527,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/aws | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/aws/tasks/stop-aws.yml",
"content": "- name: stop instance\n ec2_instance:\n state: stopped\n region: \"{{ hive_region }}\"\n wait: yes\n filters:\n \"tag:Name\": \"{{ item }}\"\n \"tag:Project\": \"{{ hive_name }}\"\n loop: \"{{ hive_safe_host... | {
"task_files": 5,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 8,
"total_bytes": 12002,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/azure | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/azure/tasks/stop-azure.yml",
"content": "- name: Stop VM\n azure_rm_virtualmachine:\n resource_group: \"{{ hive_safe_azure_resourcegroup }}\"\n name: \"{{ item.split('.')[0] }}\"\n zones: \"{{ omit if (hive_not_support_az | default(False)) else [hostvars[ite... | {
"task_files": 5,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 6,
"total_bytes": 10449,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/backup-tools | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/backup-tools/templates/hive-backup.sh",
"content": "#!/bin/bash\nLOGGER=${0##*/}\n\n. ~/docker/bin/activate\n\nfunction message () {\n echo \"INFO: $LOGGER:\" \"$*\"\n}\n\nfunction error () {\n echo \"ERROR: $LOGGER:\" $* 1>&2\n exit 1\n}\n\nmode=backup\nservices=$... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 5799,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/base | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/base/tasks/fixed-yum-url.yml",
"content": "---\n- name: get list of repo files\n stat:\n path: \"/etc/yum.repos.d/{{ item }}\"\n register: repo_files\n loop:\n # 8.1\n - CentOS-AppStream.repo\n - CentOS-Base.repo\n - CentOS-Extras.repo\n # > 8.2\n - CentOS... | {
"task_files": 5,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 12228,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/ca | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/ca/files/extfile.cnf",
"content": "basicConstraints = CA:TRUE\nkeyUsage = digitalSignature, cRLSign, keyCertSign\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 77
},
{
"path": "hive_builder/playbooks/roles/ca/tasks/main.ym... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 2301,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/docker | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/docker/tasks/main.yml",
"content": "---\n- name: setup docker ce repository\n get_url:\n url: https://download.docker.com/linux/centos/docker-ce.repo\n dest: /etc/yum.repos.d/\n owner: root\n group: root\n mode: 0644\n\n# # to avoid following error ins... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 6155,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/docker-client | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/docker-client/templates/dsh",
"content": "#!/bin/sh\nno_arg=-1\ncontainer_name=\"\"\nwhile [ $# -gt 0 ]; do\n case \"$1\" in\n \"-1\" | \"-2\" | \"-3\" ) no_arg=$1;;\n -*) echo \"unknown option $1.\" 1>&2; exit 1;;\n *)\n if [ \"$container_name\" != \"\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 6548,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/docker-client-proxy | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/docker-client-proxy/tasks/main.yml",
"content": "---\n- name: check ~/.docker/config.json\n stat:\n path: \"{{ hive_home_dir }}/.docker/config.json\"\n register: _home_docker_config_\n- name: set fact for config\n set_fact: config_contents=\"\"\n- name: load fro... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1032,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/docker-compose | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/docker-compose/tasks/main.yml",
"content": "---\n- name: install docker-compose\n become: False\n pip:\n name: docker-compose\n state: present\n virtualenv: \"{{ hive_home_dir }}/docker\"\n",
"license_type": "no_license",
"detected_licenses": [],
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 147,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/drbd | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/drbd/files/waitdevice",
"content": "#!/bin/bash\n\nRETRY_COUNT=50\nSLEEP=0.2\n\nwhile [ $RETRY_COUNT -gt 0 ]; do\n if /sbin/drbdadm adjust $1; then\n exit $?;\n fi\n let RETRY_COUNT--\n echo \"fail to exec '/sbin/drbdadm adjust $1', retry $RETRY_COUNT, sleep $S... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 6368,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/drbd-resource | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/drbd-resource/vars/main.yml",
"content": "---\nhive_safe_volume: \"{{ hostvars[hive_safe_volume_host].hive_volume }}\"\nhive_default_mirrored_disk_device:\n vgname: drbdvg\n poolname: drbdpool\nhive_safe_mirrored_disk_devices: \"{{ hive_mirrored_disk_devices | defau... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 7415,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/follow-swarm-service | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/follow-swarm-service/files/follow-swarm-service.py",
"content": "#!/usr/bin/python\n# -*- coding: utf-8 -*-\n\n# Copyright (c) 2018 Procube Co., Ltd.\n\nimport docker\nimport os\nimport logging\nimport subprocess\nimport re\nimport ipaddress\nimport json\nimport signa... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 29529,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/gcp | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/gcp/tasks/stop-gcp.yml",
"content": "- name: stop instances\n gcp_compute_instance:\n status: TERMINATED\n name: \"{{ item.split('.') | join('-') }}\"\n zone: \"{{ hostvars[item].hive_available_zone }}\"\n project: \"{{hive_safe_gcp_project }}\"\n auth... | {
"task_files": 5,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 6,
"total_bytes": 10862,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/get-public-ip | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/get-public-ip/tasks/main.yml",
"content": "---\n- name: get server ip\n when: inventory_hostname in groups['servers']\n block:\n - name: get public ip\n community.general.ipify_facts:\n - debug: var=ipify_public_ip\n - name: gather public ips\n delegate_to:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1770,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/hostsfile | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/hostsfile/tasks/main.yml",
"content": "---\n- name: Build hosts file\n when: not hive_shared_repository is defined\n block:\n - name: \"Build hosts file\"\n become: True\n blockinfile:\n dest: /etc/hosts\n insertafter: BOF\n state: \"present\"\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1730,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/internal-network | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/internal-network/tasks/main.yml",
"content": "---\n# - name: install needed network manager libs\n# yum:\n# name: '{{ item }}'\n# state: installed\n# with_items:\n# - NetworkManager-glib\n# ansible nmcli module is unstable for centos 7\n# so use comman... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1403,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/iptables | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/iptables/tasks/main.yml",
"content": "---\n# common utiility packages.\n\n- name: install packages\n yum: name=iptables-services state=present\n- name: install packages\n yum: name=iptables state=present\n- name: disable firewalld\n yum: name=firewalld state=remove... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 685,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/kickstart | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/kickstart/vars/main.yml",
"content": "hive_ks_target: \"{{ hive_kickstart_config.target | default('sda') }}\"\nhive_ks_media: \"hd:LABEL=HiveInstaller\"\nhive_ks_timezone: \"{{ hive_timezone | default('Etc/GMT') }}\"\n",
"license_type": "no_license",
"detected... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 7958,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/monitor-service-log | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/monitor-service-log/templates/monitor-service-log.j2",
"content": "{% if hostvars[hive_safe_target].hive_standalone | default(False) %}\nif $hostname == '{{ hive_safe_target }}' then {\n{% else %}\nif $syslogfacility-text == 'local0' and $app-name == '{{ hive_safe_tar... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1892,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/nfs-aws-volumes | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/nfs-aws-volumes/tasks/main.yml",
"content": "- name: delete nfs volume\n docker_volume:\n name: \"{{ hostvars[item].hive_volume.name }}\"\n driver: \"local\"\n state: absent\n loop: \"{{ hive_safe_nfs_volumes }}\"\n vars:\n ansible_python_interpreter: \... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2436,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/nfs-azure-volumes | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/nfs-azure-volumes/tasks/main.yml",
"content": "- name: Delete nfs volume\n docker_volume:\n name: \"{{ hostvars[item].hive_volume.name }}\"\n driver: \"local\"\n state: absent\n loop: \"{{ hive_safe_nfs_volumes }}\"\n vars:\n ansible_python_interpreter:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2001,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/nfs-gcp-volumes | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/nfs-gcp-volumes/tasks/main.yml",
"content": "- name: delete nfs volume\n docker_volume:\n name: \"{{ hostvars[item].hive_volume.name }}\"\n driver: \"local\"\n state: absent\n loop: \"{{ hive_safe_nfs_volumes }}\"\n vars:\n ansible_python_interpreter: \... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2528,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/ntp-client | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/ntp-client/tasks/main.yml",
"content": "---\n# Handlers for common notifications\n- name: configure chrony - remove centos default NTP servers\n replace: >\n dest=/etc/chrony.conf\n regexp='^(server \\d+.centos.pool.ntp.org iburst)'\n replace='# \\1'\n- name... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 531,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/pip-venv | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/pip-venv/tasks/main.yml",
"content": "---\n# 2019/8/11 the python36 package disappear from Centos 7 epel repository\n# and fail to inestall python34-virtualenv: python-rpm-macros is not found\n# so we use ius repository\n# hive_safe_python_revision: \"{{ hive_python_r... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2377,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/prepared | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/prepared/tasks/main.yml",
"content": "---\n- name: \"setup for prepared hosts\"\n import_tasks: setup.yml\n when: not (hive_destroy | default(false)) and not (hive_halt | default(false))\n- name: \"destroy prepared\"\n debug:\n msg: prepared provider does not ... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1362,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/registry | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/registry/templates/registry.yml.j2",
"content": "services:\n registry_server:\n image: registry:2\n container_name: registry\n ports:\n - \"{{hive_registry_port | default(5000)}}:5000\"\n environment:\n REGISTRY_STORAGE_DELETE_ENABLED : 'True'\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 2739,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/rsyslogd | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/rsyslogd/tasks/main.yml",
"content": "---\n- name: install tls packages\n become: True\n yum:\n state: present\n name:\n - rsyslog-openssl\n - rsyslog-gnutls\n - gnutls-utils\n when: hive_tls_logging\n- name: \"setup rsyslogd - create dir\"\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1856,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/rsyslogd-client | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/rsyslogd-client/handlers/main.yml",
"content": "- name: restart rsyslog daemon\n become: True\n service: name=rsyslog state=restarted\n listen: update rsyslog config",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 117
},
{
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 453,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/service-backup | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/service-backup/templates/service-backup.sh.j2",
"content": "#!/bin/bash\n\nexport DOCKER_HOST={{ groups['first_hive'] | intersect(groups[hive_stage]) | first }}:2376\nexport DOCKER_TLS=1\n\n{% set hive_safe_backup_scripts = hostvars[hive_safe_target].hive_backup_scrip... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 6125,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/shared-repository | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/shared-repository/templates/docker-compose.yml",
"content": "services:\n shared-repository:\n build:\n dockerfile: Dockerfile.repository\n container_name: \"shared-repository\"\n hostname: \"shared-repository\"\n restart: always\n privileged: true... | {
"task_files": 4,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 7,
"total_bytes": 7281,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/ssh-connection | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/ssh-connection/tasks/main.yml",
"content": "---\n- name: connect to servers\n wait_for_connection:\n timeout: 20",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 69
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 69,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/strict-source-ip | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/strict-source-ip/tasks/main.yml",
"content": "---\n- name: delete default permition for sshd port from iptables\n lineinfile:\n dest: /etc/sysconfig/iptables\n line: -A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT\n state: absent\n- name: in... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1148,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/swarm | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/swarm/tasks/main.yml",
"content": "---\n- name: gather docker info\n shell: docker info | awk '/^ *Swarm:/ {print $2}'\n register: hive_docker_info\n changed_when: false\n check_mode: False\n\n- set_fact:\n subnet_v4: \"{{ (hive_internal_cidr | ipaddr((hive_int... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 7625,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/tls-certificate | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/tls-certificate/templates/extfile.cnf",
"content": "extendedKeyUsage = clientAuth,serverAuth\nsubjectAltName = DNS:{{ hive_safe_tls_hostname }},{%if inventory_hostname not in groups['mother']%}IP:{{ hive_safe_tls_IP }},{%endif%}IP:127.0.0.1\n",
"license_type": "no... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 4547,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/users | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/users/tasks/known-hosts.yml",
"content": "---\n- name: set known host\n blockinfile:\n block: \"{{ hostvars[item].inventory_hostname }},{{ hostvars[item].hive_private_ip }} {{ hostvars[item].hive_safe_ssh_host_key.stdout }}\"\n dest: \"{{ hive_home_dir }}/.ssh/... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1590,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/vagrant | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/vagrant/tasks/main.yml",
"content": "---\n- name: Put Vagrantfile\n copy:\n src: Vagrantfile\n dest: \"{{ hive_context_dir }}/Vagrantfile\"\n when: not hive_destroy | default(false) and not hive_halt | default(false)\n- name: Put growfs script\n copy:\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 8399,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/zabbix | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/zabbix/tasks/main.yml",
"content": "---\n- name: \"setup zabbix - create dir\"\n file:\n path: \"{{ hive_home_dir }}/zabbix\"\n state: directory\n mode: 0755\n\n- name: \"install zabbix docker-compose.yml\"\n template:\n src: zabbix.yml.j2\n dest: \"{... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 6,
"total_bytes": 20483,
"all_permissive": false
} |
ansible_role | procube-open/hive-builder | ecb359e4eaf4d4109becbd51fc323236f007b64f | 2 | hive_builder/playbooks/roles/zabbix-agent | 7,311 | [
"no_license"
] | [
{
"path": "hive_builder/playbooks/roles/zabbix-agent/files/zbx_service_discovery.sh",
"content": "#!/bin/bash\n\nservice_list=$(systemctl list-unit-files --type service --no-pager --no-legend | awk '$2==\"enabled\" && $1 !~ \"@\" {print $1}' )\n\n[[ -r /etc/zabbix/service_discovery_whitelist ]] && {\n se... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 6,
"total_bytes": 25128,
"all_permissive": false
} |
ansible_role | jaksak/tileset-extractor | e1fbec79555b63846f04c10c1a739fe448020742 | 0 | ansible/roles/deploy-app | 7,311 | [
"no_license"
] | [
{
"path": "ansible/roles/deploy-app/tasks/main.yml",
"content": "---\n- name: install java\n package:\n name:\n - default-jdk\n # - maven\n - unzip\n - ufw\n state: present\n become: yes\n#- name: Download gradle\n# get_url:\n# url: https://services.gradle.org/distributi... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 978,
"all_permissive": false
} |
ansible_role | kylep/dev-vm | 577b1f97f7c34575805947dbe45dcdbc0bd16421 | 1 | ansible/roles/pydev | 7,311 | [
"no_license"
] | [
{
"path": "ansible/roles/pydev/tasks/hostname.yml",
"content": "---\n\n# By default, hostname is dev-env and is defined in defaults/main.yml\n- name: \"set hostname\"\n hostname:\n name: \"{{ hostname }}\"\n\n- name: \"set hostname in hosts file to speed up sudo\"\n lineinfile:\n dest: /etc/hosts\n ... | {
"task_files": 8,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 11,
"total_bytes": 8526,
"all_permissive": false
} |
ansible_role | ssankarau/ansible-lambda | 0a646f7d2c2cfb22aa6dc93d2786318f2bd7d2b2 | 0 | roles/apigw | 7,311 | [
"no_license"
] | [
{
"path": "roles/apigw/tasks/main.yml",
"content": "---\n- name: Create Web ALB Target Groups\n import_tasks: apigw.yml\n \n- name: creating lambda resource policy\n import_tasks: lambda-policy.yml",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 143
},
{
"path":... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 3694,
"all_permissive": false
} |
ansible_role | ssankarau/ansible-lambda | 0a646f7d2c2cfb22aa6dc93d2786318f2bd7d2b2 | 0 | roles/cdn | 7,311 | [
"no_license"
] | [
{
"path": "roles/cdn/tasks/main.yml",
"content": "- name: create a distribution with an API GW Origin\n community.aws.cloudfront_distribution:\n state: present\n caller_reference: my_demo_caller_reference\n origins:\n - id: \"demo-api-origin-{{ region }}-{{ ansible_date_time.iso8601_basic_short... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1100,
"all_permissive": false
} |
ansible_role | ssankarau/ansible-lambda | 0a646f7d2c2cfb22aa6dc93d2786318f2bd7d2b2 | 0 | roles/ddb | 7,311 | [
"no_license"
] | [
{
"path": "roles/ddb/tasks/main.yml",
"content": "- name: Create dynamo table with hash key\n community.aws.dynamodb_table:\n name: \"{{ demo_table_name }}\"\n region: \"{{ region }}\"\n hash_key_name: id\n hash_key_type: STRING\n read_capacity: 2\n write_capacity: 2\n tags:\n tag... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 296,
"all_permissive": false
} |
ansible_role | ssankarau/ansible-lambda | 0a646f7d2c2cfb22aa6dc93d2786318f2bd7d2b2 | 0 | roles/general | 7,311 | [
"no_license"
] | [
{
"path": "roles/general/tasks/main.yml",
"content": "- name: Get the current caller identity information\n amazon.aws.aws_caller_info:\n register: caller_info\n- name: Set Fact the Account\n set_fact:\n account_number: \"{{ caller_info.account }}\"\n ",
"license_type": "no_license",
"detec... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 199,
"all_permissive": false
} |
ansible_role | ssankarau/ansible-lambda | 0a646f7d2c2cfb22aa6dc93d2786318f2bd7d2b2 | 0 | roles/iam | 7,311 | [
"no_license"
] | [
{
"path": "roles/iam/files/permission.json",
"content": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Effect\": \"Allow\",\n \"Action\": \"logs:CreateLogGroup\",\n \"Resource\": \"arn:aws:logs:us-east-1:281735606975:*\"\n },\n {\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1587,
"all_permissive": false
} |
ansible_role | ssankarau/ansible-lambda | 0a646f7d2c2cfb22aa6dc93d2786318f2bd7d2b2 | 0 | roles/lambda | 7,311 | [
"no_license"
] | [
{
"path": "roles/lambda/tasks/main.yml",
"content": "# Create Lambda functions\n- name: Create Lambda Functions\n community.aws.lambda:\n name: '{{ item }}'\n state: present\n s3_bucket: \"{{ code_bucket_name }}\"\n s3_key: \"{{ item }}.zip\"\n runtime: 'python3.8'\n role: \"{{ iam_role_... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 663,
"all_permissive": false
} |
ansible_role | ssankarau/ansible-lambda | 0a646f7d2c2cfb22aa6dc93d2786318f2bd7d2b2 | 0 | roles/s3 | 7,311 | [
"no_license"
] | [
{
"path": "roles/s3/vars/main.yml",
"content": "code_bucket_name: zymr-s3-bucket-serverless-code-{{ region }}\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 62
},
{
"path": "roles/s3/tasks/main.yml",
"content": "---\n- name: Zip Lambda Code \n archive:\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 556,
"all_permissive": false
} |
ansible_role | albana-meloni/UTNFRA_SO_2do_Parcial_Meloni | cba0a4a0c1dd2d1e48ca7cf90218e28cefd382dc | 0 | 202406/ansible/roles/2do_parcial | 7,311 | [
"no_license"
] | [
{
"path": "202406/ansible/roles/2do_parcial/tasks/main.yml",
"content": "---\n# tasks file for 2do_parcial\n\n- name: \"crear directorios\"\n file:\n path: \"/tmp/2do_parcial/{{ item }}\"\n state: directory\n mode: '0775'\n recurse: yes\n with_items:\n - \"alumno\"\n - \"equipo\"\n\n- na... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 747,
"all_permissive": false
} |
ansible_role | jairamchandran/Newlamp | 887cfca44e7accda0e1e8232d045d00f138e4090 | 0 | roles/lamp_config | 7,311 | [
"no_license"
] | [
{
"path": "roles/lamp_config/tasks/main.yml",
"content": "---\n - name: configure httpd\n template: src=welcome.conf.j2 dest=/etc/httpd/conf.d/welcome.conf\n notify: httpd_restart\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 123
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 123,
"all_permissive": false
} |
ansible_role | raidalerts/golang-backend | 9bc51be53165ed55e82f8b5ad802f346aed0a77d | 0 | ansible/roles/common | 7,311 | [
"no_license"
] | [
{
"path": "ansible/roles/common/tasks/main.yml",
"content": "- name: Install necessary packages\n apt:\n name: \"{{ packages }}\"\n vars:\n packages:\n - docker.io\n - docker-compose",
"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 | raidalerts/golang-backend | 9bc51be53165ed55e82f8b5ad802f346aed0a77d | 0 | ansible/roles/raidalerts-app | 7,311 | [
"no_license"
] | [
{
"path": "ansible/roles/raidalerts-app/tasks/main.yml",
"content": "- name: Create a projects dir\n file:\n path: /root/projects\n state: directory\n mode: '0755'\n- name: Clone the project from GitHub\n git:\n repo: 'https://github.com/raidalerts/golang-backend.git'\n dest: /root/projects... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1319,
"all_permissive": false
} |
ansible_role | dolihj/save_command | 97519e35450b1097f891a1f5dbe105ece98d5dc0 | 0 | roles/backup_config | 7,307 | [
"no_license"
] | [
{
"path": "roles/backup_config/tasks/main.yml",
"content": "---\n# tasks file for backup_config\n- name: BACKUP THE IOS CONFIG\n # ios_config and nxos_config works for ios/nxos for backup \n ios_config:\n backup: yes\n register: config_output\n\n- name: RENAME BACKUP\n copy:\n src: \"{{config_out... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 721,
"all_permissive": false
} |
ansible_role | limnesh/nextgentest | 413024f6fa3db4a9d942d2fd40cc56935b19f41e | 0 | roles/base-config | 7,307 | [
"no_license"
] | [
{
"path": "roles/base-config/tasks/main.yml",
"content": "---\n# Initial, common, system setup steps\n\n- name: enable sudo without tty for some ansible commands\n replace:\n path: /etc/sudoers\n regexp: '^Defaults\\s*requiretty'\n replace: 'Defaults !requiretty'\n backup: yes\n\n- name: enabl... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 973,
"all_permissive": false
} |
ansible_role | drumoff/ansible | b1cea8a6cc83acc47e9581871aa96d043dd80dd6 | 1 | roles/ipa | 7,307 | [
"no_license"
] | [
{
"path": "roles/ipa/tasks/main.yml",
"content": "---\n- name: Предподготовка\n become: true\n block:\n - name: Настройка временной зоны\n timezone:\n name: \"{{ timezone }}\"\n\n - name: Установка дополнительных пакетов\n yum:\n name: \"{{ package }}\"\n vars:\n package:\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1926,
"all_permissive": false
} |
ansible_role | drumoff/ansible | b1cea8a6cc83acc47e9581871aa96d043dd80dd6 | 1 | roles/jenkins | 7,307 | [
"no_license"
] | [
{
"path": "roles/jenkins/tasks/main.yml",
"content": "---\r\n- name: Install jenkins\r\n block:\r\n - name: Подключение Стандартного файла деплой\r\n include: \"../common/default_deploy.yml\"\r\n vars:\r\n name: jenkins\r\n templates:\r\n - docker-compose.yml\r\n\r\n - name: Из... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 816,
"all_permissive": false
} |
ansible_role | drumoff/ansible | b1cea8a6cc83acc47e9581871aa96d043dd80dd6 | 1 | roles/keycloak | 7,307 | [
"no_license"
] | [
{
"path": "roles/keycloak/templates/keycloak/docker-compose.yml.j2",
"content": "version: \"3.8\"\r\n\r\nservices:\r\n postgres:\r\n container_name: postgres\r\n image: library/postgres\r\n restart: always\r\n environment:\r\n POSTGRES_USER: ${POSTGRES_USER:-postgres}\r\n POSTGRES_PAS... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 993,
"all_permissive": false
} |
ansible_role | drumoff/ansible | b1cea8a6cc83acc47e9581871aa96d043dd80dd6 | 1 | roles/nginx | 7,307 | [
"no_license"
] | [
{
"path": "roles/nginx/templates/nginx/docker-compose.yml.j2",
"content": "version: '3'\nservices:\n web:\n container_name: nginx\n restart: always\n image: nginx\n ports:\n - \"80:80\"\n - \"443:443\"\n volumes:\n - ./conf.d:/etc/nginx/conf.d:ro\n - ./certs:/etc/ssl/cert... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 3447,
"all_permissive": false
} |
ansible_role | drumoff/ansible | b1cea8a6cc83acc47e9581871aa96d043dd80dd6 | 1 | roles/preconfig | 7,307 | [
"no_license"
] | [
{
"path": "roles/preconfig/tasks/main.yml",
"content": "---\r\n- name: Добавляем пользователей\r\n include: \"user.yml\"\r\n vars: \r\n user: \"{{ item }}\"\r\n loop: \"{{ users }}\"\r\n \r\n- name: Установка docker и docker-compose\r\n become: true \r\n block:\r\n - name: Добавляем universe\r\n... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2700,
"all_permissive": false
} |
ansible_role | drumoff/ansible | b1cea8a6cc83acc47e9581871aa96d043dd80dd6 | 1 | roles/registry | 7,307 | [
"no_license"
] | [
{
"path": "roles/registry/templates/registry/docker-compose.yml.j2",
"content": "version: '3'\r\nservices:\r\n registry:\r\n image: registry:2\r\n restart: always\r\n ports:\r\n - \"5000:5000\"\r\n environment:\r\n REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY: /data\r\n REGISTRY_HTTP_... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 680,
"all_permissive": false
} |
ansible_role | mAbdelFattah99/project3-automation-superpower | cce106ae4c8435fb87210c12adc8ca3f2399f3c7 | 0 | .circleci/ansible/roles/deploy | 7,307 | [
"no_license"
] | [
{
"path": ".circleci/ansible/roles/deploy/tasks/main.yml",
"content": "- name: Copy backend files\n become: true\n copy:\n src: /home/backend.tar.gz\n dest: /home/ubuntu/backend.tar.gz\n \n- name: \"copy backend binaries\"\n become: yes\n synchronize:\n src: ../../backend/dist\n dest: /ho... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1406,
"all_permissive": false
} |
ansible_role | KostivAndrii/learning | ff62ec580e43352ca702a0e1734145a2eae16e2a | 0 | ansible/roles/artifactory | 7,307 | [
"no_license"
] | [
{
"path": "ansible/roles/artifactory/tasks/main.yml",
"content": "---\n# tasks file for artifactory\n\n- name: Install wget\n yum:\n name: wget\n state: latest\n\n- name: Download specific Artifactory version\n get_url:\n url: \"{{ artifactory_url }}\"\n dest: \"/tmp/jfrog-artifactory-oss-{{ a... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1214,
"all_permissive": false
} |
ansible_role | KostivAndrii/learning | ff62ec580e43352ca702a0e1734145a2eae16e2a | 0 | ansible/roles/icinga2 | 7,307 | [
"no_license"
] | [
{
"path": "ansible/roles/icinga2/defaults/main.yml",
"content": "---\n# defaults file for icinga2-ansible-web2-ui\n# https://www.linuxtechi.com/install-configure-icinga2-centos-7-rhel-7/\n# https://icinga.com/docs/icinga2/latest/doc/02-getting-started/\n# https://github.com/Icinga/ansible-playbooks\n\n\nici... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 4151,
"all_permissive": false
} |
ansible_role | KostivAndrii/learning | ff62ec580e43352ca702a0e1734145a2eae16e2a | 0 | ansible/roles/java | 7,307 | [
"no_license"
] | [
{
"path": "ansible/roles/java/tasks/offlineJava.yml",
"content": "---\n# tasks file for offline Java instalation\n- name: copying jdk-8u*-linux-x64.tar.gz\n copy:\n src: \"{{ jdk_arch }}\"\n dest: \"/opt/\"\n owner: root\n mode: 0644\n\n- name: check jdk folder if exist\n stat:\n path: \"/o... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 2412,
"all_permissive": false
} |
ansible_role | KostivAndrii/learning | ff62ec580e43352ca702a0e1734145a2eae16e2a | 0 | ansible/roles/jdk | 7,307 | [
"no_license"
] | [
{
"path": "ansible/roles/jdk/tasks/main.yml",
"content": "---\n# tasks file for jdk\n\n- name: include jdk\n include_tasks: jdk.yml\n when: not openjdk\n\n- name: include openjdk\n include_tasks: openjdk.yml\n when: openjdk\n\n\n",
"license_type": "no_license",
"detected_licenses": [],
"size... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 1068,
"all_permissive": false
} |
ansible_role | KostivAndrii/learning | ff62ec580e43352ca702a0e1734145a2eae16e2a | 0 | ansible/roles/jenkins | 7,307 | [
"no_license"
] | [
{
"path": "ansible/roles/jenkins/tasks/config.yml",
"content": "---\r\n- name: Create custom init scripts and jobs directory\r\n file:\r\n path: \"{{ jenkins_home }}/{{ item }}\"\r\n state: directory\r\n owner: \"{{ jenkins_user }}\"\r\n group: \"{{ jenkins_group }}\"\r\n mode: 0775\r\n loo... | {
"task_files": 5,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 11,
"total_bytes": 11540,
"all_permissive": false
} |
ansible_role | KostivAndrii/learning | ff62ec580e43352ca702a0e1734145a2eae16e2a | 0 | ansible/roles/ntp | 7,307 | [
"no_license"
] | [
{
"path": "ansible/roles/ntp/tasks/main.yml",
"content": "---\n# tasks file for ntp\n\n- name: Ensure ntp is installed\n yum:\n name: ntp\n state: present\n\n- name: Start the zabbix-agent service\n service:\n name: ntpd\n state: started\n enabled: true\n\n- name: ntpdate pool.ntp.org; time... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 447,
"all_permissive": false
} |
ansible_role | KostivAndrii/learning | ff62ec580e43352ca702a0e1734145a2eae16e2a | 0 | ansible/roles/otds | 7,307 | [
"no_license"
] | [
{
"path": "ansible/roles/otds/templates/otds_install.conf.j2",
"content": "\n[Setup]\nId=OTDS\nVersion={{ otds_version }}\nPatch={{ otds_patch }}\nBasedir={{ otds_installer_path }}\nConfigfile={{ otds_installer_path }}/setup.xml\nAction=Install\nLog=\nInstance=1\nFeature=All\n\n[Property]\nINST_GROUP={{ otd... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 6,
"total_bytes": 8950,
"all_permissive": false
} |
ansible_role | KostivAndrii/learning | ff62ec580e43352ca702a0e1734145a2eae16e2a | 0 | ansible/roles/tomcat2 | 7,307 | [
"no_license"
] | [
{
"path": "ansible/roles/tomcat2/vars/main.yml",
"content": "---\n# vars file for tomcat\n\n# tomcat_group: tomcat\n# tomcat_user: tomcat\n\n# tomcat_version: 8.5.38\ntomcat_arch: \"apache-tomcat-{{ tomcat_version }}.tar.gz\"\n# tomcat_dest: /opt/tomcat\n\n# update_tomcat: true\n",
"license_type": "n... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 3113,
"all_permissive": false
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.