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 | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/common | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/common/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: homebr... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 3118,
"all_permissive": false
} |
ansible_role | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/develop | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/develop/tasks/main.yml",
"content": "- name: all install\n action: yum name=$item state=latest\n with_items:\n - autoconf \n - automake \n - bzip2\n - bzip2-devel \n - curl-devel \n - gcc-c++ \n - glibc\n - git\n - bc\n - libxml2 \n - libxm... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 582,
"all_permissive": false
} |
ansible_role | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/emacs | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/emacs/files/install.sh",
"content": "#!/bin/bash\n\nEMACSVERSION=24.5\n\n#emacs\nif [ -e /usr/local/bin/emacs ]; then\n\tNOW_EMACS=`/usr/local/bin/emacs --version | grep $EMACSVERSION`\n\tif [ -n \"$NOW_EMACS\" ]; then\n\t\tINSTALL_EMACS=\"no\"\n\tfi\nfi\n\nif [ $INSTALL_EMACS ... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 3420,
"all_permissive": false
} |
ansible_role | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/git | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/git/tasks/macbook.yml",
"content": "---\n- name: install git\n homebrew: pkg=git state=latest\n tags: git\n\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 | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/grip | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/grip/tasks/macbook.yml",
"content": "---\n- name: install grip #$ grip README.md localhsot:6419/README.md joeyespo/grip\n pip: name=grip state=present\n tags: grip\n\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 127
},
{
"path": ... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 194,
"all_permissive": false
} |
ansible_role | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/hosts | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/hosts/tasks/main.yml",
"content": "\n- name: copy /etc/hosts\n copy: src=hosts dest=/etc/hosts\n tags: hosts\n\n- name: restart network service\n service: name=network state=restarted\n tags: hosts\n",
"license_type": "no_license",
"detected_licenses": [],
"siz... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 304,
"all_permissive": false
} |
ansible_role | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/iptables | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/iptables/tasks/main.yml",
"content": "\n- name: copy /tmp/iptables.sh\n copy: src=iptables.sh dest=/tmp/iptables.sh\n tags:\n \n- name: sh /tmp/iptables.sh\n command: sh /tmp/iptables.sh\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1177,
"all_permissive": false
} |
ansible_role | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/mysql | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/mysql/tasks/main.yml",
"content": "\n- name: get MySQL-shared-compat\n get_url: >\n url=http://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-shared-compat-{{ mysql_version }}.el6.x86_64.rpm\n dest=${tmp}/MySQL-shared-compat-${mysql_version}.el6.x86_64.rpm\n\n- name: get My... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2372,
"all_permissive": false
} |
ansible_role | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/nginx | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/nginx/tasks/main.yml",
"content": "---\n\n- name: install nginx repo\n yum: name=http://nginx.org/packages/rhel/6/noarch/RPMS/nginx-release-rhel-6-0.el6.ngx.noarch.rpm state=present\n tags: nginx\n ignore_errors: yes\n \n- name: install nginx\n yum: pkg=nginx state=presen... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1113,
"all_permissive": false
} |
ansible_role | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/owncloud | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/owncloud/templates/nginx.conf.j2",
"content": "\nupstream php-handler {\n #server 127.0.0.1:9000;\n\t\tserver unix:/var/run/php-fcgi.sock;\n}\n\nserver {\n listen 80;\n server_name {{ server_name }};\n return 301 https://$server_name$request_uri; # ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 5926,
"all_permissive": false
} |
ansible_role | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/performance | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/performance/tasks/main.yml",
"content": "\n- name: install libselinux-python\n yum: name=libselinux-python\n\n- name: selinux desabled\n selinux: state=disabled\n\n- name: set kernel.panic_on_oops\n sysctl: name=kernel.panic_on_oops value=1 state=present \n \n- name: set k... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2838,
"all_permissive": false
} |
ansible_role | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/php-fpm | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/php-fpm/tasks/main.yml",
"content": "---\n- name: install remi repo\n yum: name=http://rpms.famillecollet.com/enterprise/remi-release-6.rpm state=present\n\n- name: install php\n yum: pkg=php state=present enablerepo=remi\n\n- name: install php-fpm\n yum: pkg=php-fpm state=p... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2162,
"all_permissive": false
} |
ansible_role | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/reboot | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/reboot/tasks/main.yml",
"content": "- name: reboot\n command: reboot\n tags: reboot",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 47
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 47,
"all_permissive": false
} |
ansible_role | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/redmine | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/redmine/files/database.yml",
"content": "production:\n adapter: mysql2\n database: redmine\n host: localhost\n username: redmine\n password: \"<PASSWORD>\"\n encoding: utf8\n\ndevelopment:\n adapter: mysql2\n database: redmine\n host: localhost\n username: redmine\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 4320,
"all_permissive": false
} |
ansible_role | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/ruby | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/ruby/files/install.sh",
"content": "#!/bin/bash\n\nRBE=/usr/local/rbenv/bin/rbenv\nRUBYVERSION=2.0.0-p353\n\nif [ $# -ge 1 ]; then\n\tRUBYVERSION=$1\nfi\t\n\n#ruby\nif [ ! -e /usr/local/rbenv/shims/ruby ]; then\n\n#install rbenv\ncd /usr/local\nsudo git clone git://github.com/s... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1707,
"all_permissive": false
} |
ansible_role | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/screen | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/screen/tasks/main.yml",
"content": "---\n- name: install screen\n yum: pkg=screen state=present\n tags: screen\n\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 75
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 75,
"all_permissive": false
} |
ansible_role | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/spawn-fcgi | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/spawn-fcgi/tasks/main.yml",
"content": "---\n- name: install remi repo\n yum: name=http://rpms.famillecollet.com/enterprise/remi-release-6.rpm state=present\n\n- name: install php\n yum: pkg=php state=present enablerepo=remi\n\n- name: install php-fpm\n yum: pkg=php-fpm stat... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1922,
"all_permissive": false
} |
ansible_role | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/ssh | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/ssh/tasks/main.yml",
"content": "\n- name: edit sshd_config (PasswordAuthentication)\n lineinfile: \n regexp='^PasswordAuthentication'\n line='PasswordAuthentication no'\n insertafter=EOF\n state=present\n dest=/etc/ssh/sshd_config\n\n- name: edit sshd_config (C... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1122,
"all_permissive": false
} |
ansible_role | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/xtrabackup | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/xtrabackup/vars/main.yml",
"content": "---\n\nbackup_dir: /data/backup\ndb_user: root\ndb_password: <PASSWORD>\nparallel: 4\ncomp_parallel: 4\nbackup_server: YES\nbs_host: backup-server\nbs_user: root\nbs_dir: /data/backup\n\n",
"license_type": "no_license",
"detected_l... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 2198,
"all_permissive": false
} |
ansible_role | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/zabbix-server | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/zabbix-server/tasks/main.yml",
"content": "---\n\n- name: yum install\n action: yum name=$item state=present\n with_items:\n - curl\n - net-snmp\n - unixODBC\n - OpenIPMI-libs\n - vlgothic-p-fonts\n - java-1.7.0\n tags: zabbix-server\n\n- name: install rpmf... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 6663,
"all_permissive": false
} |
ansible_role | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/zabbix_agent | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/zabbix_agent/tasks/main.yml",
"content": "---\n\n- name: install zabbix repository\n yum: name=http://repo.zabbix.com/zabbix/2.2/rhel/6/x86_64/zabbix-release-2.2-1.el6.noarch.rpm state=present\n\n- name: install zabbix agent\n yum: pkg=zabbix-agent state=present\n\n- name: za... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 649,
"all_permissive": false
} |
ansible_role | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/zabbix_nginx | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/zabbix_nginx/tasks/main.yml",
"content": "- name: copy zabbix-agent.conf /etc/nginx/conf.d/zabbix-agent.conf\n copy: src=zabbix-agent.conf dest=/etc/nginx/conf.d/zabbix-agent.conf mode=644\n tags: zabbix-nginx\n\n- name: copy nginx-params.conf /etc/zabbix/zabbix_agentd.d/ngin... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1561,
"all_permissive": false
} |
ansible_role | pky/my_ansible | 40184ca3b9a109bf5d20a77a66fc57ff40a389b1 | 1 | provisioning/roles/zsh | 371 | [
"no_license"
] | [
{
"path": "provisioning/roles/zsh/tasks/redhat.yml",
"content": "---\n- name: install wget\n yum: pkg=wget state=present\n\n- name: copy install.sh\n copy: src=install.sh dest=/tmp/install.sh owner=fractale group=wheel mode=775\n\n- name: install ruby\n command: sh /tmp/install.sh {{zsh_version}} creates... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 1171,
"all_permissive": false
} |
ansible_role | BudyGun/diplom | c9b073241791f7cec7fded9ad93ec21c5dadd8ea | 0 | ansible/roles/kibana | 371 | [
"no_license"
] | [
{
"path": "ansible/roles/kibana/tasks/main.yml",
"content": "---\n#- name: Install reqs for Docker\n# ansible.builtin.apt:\n# name:\n# - ca-certificates\n# - curl\n# - gnupg\n# - lsb-release\n# - software-properties-common\n# - python3-pip\n# - virtualenv\n# - pyt... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1889,
"all_permissive": false
} |
ansible_role | misha-kuks/rebrain_final | c95b0ca4be4a0d8250fdc7e1d974719f7b74ab88 | 0 | roles/initapps | 371 | [
"no_license"
] | [
{
"path": "roles/initapps/templates/joomla.conf.j2",
"content": "server {\n listen 80 default_server;\n server_name {{ nginx_site_name }};\n root /var/www/sites/joomla;\n\n index index.html index.htm index.php;\n\n charset utf-8;\n\n access_log /var/log/nginx/{{ nginx_site_name }}.access.l... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 2066,
"all_permissive": false
} |
ansible_role | misha-kuks/rebrain_final | c95b0ca4be4a0d8250fdc7e1d974719f7b74ab88 | 0 | roles/joomla | 371 | [
"no_license"
] | [
{
"path": "roles/joomla/handlers/main.yml",
"content": "---\n# handlers file for joomla\n- name: Reload nginx\n ansible.builtin.service:\n name: nginx\n state: reloaded",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 114
},
{
"path": "roles/joomla/tasks/main... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 498,
"all_permissive": false
} |
ansible_role | misha-kuks/rebrain_final | c95b0ca4be4a0d8250fdc7e1d974719f7b74ab88 | 0 | roles/mysql | 371 | [
"no_license"
] | [
{
"path": "roles/mysql/tasks/main.yml",
"content": "---\n# tasks file for mysql\n- name: Install package-latest\n ansible.builtin.apt:\n name:\n - mariadb-server\n - python3-pymysql\n state: present\n\n- name: Removes all anonymous user accounts\n community.mysql.mysql_user:\n login_use... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1211,
"all_permissive": false
} |
ansible_role | misha-kuks/rebrain_final | c95b0ca4be4a0d8250fdc7e1d974719f7b74ab88 | 0 | roles/nginx | 371 | [
"no_license"
] | [
{
"path": "roles/nginx/tasks/main.yml",
"content": "---\n# tasks file for nginx\n- name: Install package\n ansible.builtin.apt:\n name: nginx\n state: present\n update_cache: true\n\n- name: Create folder sites\n ansible.builtin.file:\n path: /var/www/sites\n mode: '0755'\n owner: www-da... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 311,
"all_permissive": false
} |
ansible_role | misha-kuks/rebrain_final | c95b0ca4be4a0d8250fdc7e1d974719f7b74ab88 | 0 | roles/php | 371 | [
"no_license"
] | [
{
"path": "roles/php/defaults/main.yml",
"content": "---\npackage_name:\n - php-common\n - php-mysql\n - php-curl\n - php-fpm\n - php-gd\n - php-imagick\n - php-intl\n - php-mbstring\n - php-xml\n - php-xmlrpc\n - php-zip",
"license_type": "no_license",
"detected_licenses": [],
"size_... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 612,
"all_permissive": false
} |
ansible_role | njqaaa/ansible-install-k8s | 9d01708c06d1d4ce629846b3b02f7bf18b5e6327 | 0 | roles/canal | 371 | [
"no_license"
] | [
{
"path": "roles/canal/tasks/main.yml",
"content": "- block:\n - name: 在deploy 节点创建相关目录\n file: name={{ item }} state=directory\n with_items:\n - \"{{ CALICO_CA_DIR }}\"\n \n - name: 配置 calico DaemonSet yaml文件\n template: src=canal.yaml.j2 dest=/tmp/canal.yaml\n \n delegate_... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1435,
"all_permissive": false
} |
ansible_role | njqaaa/ansible-install-k8s | 9d01708c06d1d4ce629846b3b02f7bf18b5e6327 | 0 | roles/cluster-addon | 371 | [
"no_license"
] | [
{
"path": "roles/cluster-addon/defaults/main.yml",
"content": "# dns 自动安装,可选\"coredns\"和“kubedns”\ndns_install: \"yes\"\ndns_backend: \"coredns\"\nkubedns_offline: \"kubedns_1.14.13.tar\"\ncoredns_offline: \"coredns_1.2.6.tar\"\ndns_offline: \"{%- if dns_backend == 'coredns' -%} \\\n {{ cored... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1878,
"all_permissive": false
} |
ansible_role | njqaaa/ansible-install-k8s | 9d01708c06d1d4ce629846b3b02f7bf18b5e6327 | 0 | roles/cluster-storage | 371 | [
"no_license"
] | [
{
"path": "roles/cluster-storage/tasks/alicloud-nas.yml",
"content": "- name: 准备alicloud-nas配置目录\n file: name={{ K8S_YAML_DIR }}/storage/alicloud-nas state=directory\n\n- name: 生成alicloud-nas动态存储配置\n template:\n src: alicloud-nas/alicloud-nas.yaml.j2\n dest: \"{{ K8S_YAML_DIR }}/storage/alicloud-nas... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 719,
"all_permissive": false
} |
ansible_role | njqaaa/ansible-install-k8s | 9d01708c06d1d4ce629846b3b02f7bf18b5e6327 | 0 | roles/deploy | 371 | [
"no_license"
] | [
{
"path": "roles/deploy/create-admin-kubeconfig.yml",
"content": "- hosts: deploy\n tasks:\n - name: 删除原有kubeconfig\n file: path=/root/.kube state=absent\n\n - name: 准备kubectl使用的admin 证书签名请求\n template: src=admin-csr.json.j2 dest={{ CA_DIR }}/admin-csr.json\n \n - name: 创建 admin证书与私钥\n shell: ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 6148,
"all_permissive": false
} |
ansible_role | njqaaa/ansible-install-k8s | 9d01708c06d1d4ce629846b3b02f7bf18b5e6327 | 0 | roles/docker | 371 | [
"no_license"
] | [
{
"path": "roles/docker/tasks/main.yml",
"content": "## ---------docker daemon配置部分-----------\n- name: 准备docker相关目录\n file: name={{ item }} state=directory\n with_items:\n - '{{ DOCKER_DIR }}'\n\n- name: 下载 docker 二进制文件\n copy: src={{ BASE_DOCKER_DIR }}/{{ item }} dest={{ BIN_DIR }}/{{ item }} mode=0755... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1390,
"all_permissive": false
} |
ansible_role | njqaaa/ansible-install-k8s | 9d01708c06d1d4ce629846b3b02f7bf18b5e6327 | 0 | roles/etcd | 371 | [
"no_license"
] | [
{
"path": "roles/etcd/templates/etcd-csr.json.j2",
"content": "{\n \"CN\": \"etcd\",\n \"hosts\": [\n \"127.0.0.1\",\n \"{{ inventory_hostname }}\",\n \"{{ ansible_default_ipv4.address }}\"\n ],\n \"key\": {\n \"algo\": \"rsa\",\n \"size\": 2048\n },\n \"names\": [\n {\n \"C\": ... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 1889,
"all_permissive": false
} |
ansible_role | njqaaa/ansible-install-k8s | 9d01708c06d1d4ce629846b3b02f7bf18b5e6327 | 0 | roles/helm | 371 | [
"no_license"
] | [
{
"path": "roles/helm/tasks/main.yml",
"content": "- name: 下载helm客户端\n copy: src={{ BASE_HELM_DIR }}/helm dest={{ BIN_DIR }}/helm mode=0755\n\n- name: 自动补全\n shell: echo \"source <(helm completion bash)\" > /etc/profile.d/helm.sh\n\n- name: 准备rbac配置\n template: src=helm-rbac.yaml.j2 dest={{ K8S_YAML_DIR ... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1072,
"all_permissive": false
} |
ansible_role | njqaaa/ansible-install-k8s | 9d01708c06d1d4ce629846b3b02f7bf18b5e6327 | 0 | roles/prepare | 371 | [
"no_license"
] | [
{
"path": "roles/prepare/handlers/main.yaml",
"content": "- name: update kernel && reboot\n shell: pwd\n# shell: grub2-set-default 0 \\\n# && reboot\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 97
},
{
"path": "roles/prepare/tasks/centos-kernel.yml",... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 3068,
"all_permissive": false
} |
ansible_role | doug2901/zabbix | 90407a0b01c3dc757f6e973871ca09a24fe054dc | 2 | ansible/install_zabbix_server/roles/debian_pre_reqs | 371 | [
"no_license"
] | [
{
"path": "ansible/install_zabbix_server/roles/debian_pre_reqs/tasks/debian_install_reqs.yaml",
"content": " - name: Update all packages to their latest version\n ansible.builtin.apt:\n name: \"*\"\n state: latest\n\n - name: Upgrade the OS (apt-get dist-upgrade)\n ansible.builtin.apt:\n ... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 906,
"all_permissive": false
} |
ansible_role | doug2901/zabbix | 90407a0b01c3dc757f6e973871ca09a24fe054dc | 2 | ansible/install_zabbix_server/roles/install_mysql | 371 | [
"no_license"
] | [
{
"path": "ansible/install_zabbix_server/roles/install_mysql/tasks/install_mysql.yaml",
"content": "---\n- name: download Mysql Repo file\n shell: curl -Lo /tmp/{{mysql_repo_file}} {{mysql_repo_url}}{{mysql_repo_file}}\n args:\n executable: /bin/bash\n register: dowload_mysql_repo\n\n- name: Install a... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 2139,
"all_permissive": false
} |
ansible_role | doug2901/zabbix | 90407a0b01c3dc757f6e973871ca09a24fe054dc | 2 | ansible/install_zabbix_server/roles/install_zabbix_server | 371 | [
"no_license"
] | [
{
"path": "ansible/install_zabbix_server/roles/install_zabbix_server/handlers/main.yaml",
"content": "- name: Enable remote login to mysql\n lineinfile:\n path: /etc/mysql/mariadb.cnf\n regexp: '^bind-address'\n line: 'bind-address = 0.0.0.0'\n backup: yes\n\n- name: Restart mysql\n servic... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 2406,
"all_permissive": false
} |
ansible_role | chuck650/cte | 2ed573b167fc51421abbf83aab78b6aacb47c5af | 1 | roles/cte-common | 371 | [
"no_license"
] | [
{
"path": "roles/cte-common/vars/main.yaml",
"content": "---\nuser:\n password: <PASSWORD>\n ssh:\n pubkeyfiles:\n rsa: \"~/.ssh/id_rsa.pub\"\n ecdsa: \"~/.ssh/id_ecdsa.pub\"\napt:\n packages:\n - tmux\n - openssh-ssh_client\n - vim\n - vim-airline\n - python\n - python-net... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 6,
"total_bytes": 3967,
"all_permissive": false
} |
ansible_role | chuck650/cte | 2ed573b167fc51421abbf83aab78b6aacb47c5af | 1 | roles/cte-facts | 371 | [
"no_license"
] | [
{
"path": "roles/cte-facts/tasks/main.yaml",
"content": "---\n- name: Create a directory for storing CTE config for ansible_user_id\n file:\n path: \"{{ ansible_user_dir }}/.cte\"\n state: directory\n run_once: true\n tags:\n - always\n\n- name: Set CTE user dir\n set_fact:\n cte_user_dir: \... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 305,
"all_permissive": false
} |
ansible_role | chuck650/cte | 2ed573b167fc51421abbf83aab78b6aacb47c5af | 1 | roles/cte-forensics | 371 | [
"no_license"
] | [
{
"path": "roles/cte-forensics/vars/main.yaml",
"content": "cte:\n forensics:\n networks:\n public: &pub\n name: 'cte-forensics'\n net: '10.80.63.0/24'\n gateway: '10.80.63.1'\n address: '10.80.63.1/24'\n domain: forensics.cte\n containers:\n - name: for1\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1419,
"all_permissive": false
} |
ansible_role | chuck650/cte | 2ed573b167fc51421abbf83aab78b6aacb47c5af | 1 | roles/cte-inventory | 371 | [
"no_license"
] | [
{
"path": "roles/cte-inventory/tasks/libvirt.yaml",
"content": "---\n- name: Get hypervisor nodeinfo\n command: virsh nodeinfo\n become: yes\n register: hypervisor_nodeinfo\n ignore_errors: false\n changed_when:\n - hypervisor_nodeinfo.rc == 0\n - hypervisor_nodeinfo.stdout_lines | length > 0\n ... | {
"task_files": 4,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 3149,
"all_permissive": false
} |
ansible_role | chuck650/cte | 2ed573b167fc51421abbf83aab78b6aacb47c5af | 1 | roles/cte-multipass | 371 | [
"no_license"
] | [
{
"path": "roles/cte-multipass/vars/main.yaml",
"content": "---\nrsa_pub_key_path: \"~/.ssh/id_rsa\"\necdsa_key_path: \"~/.ssh/id_ecdsa\"\nvm_os_version: eoan\nvm_name: cte\nvm_packages:\n - npm\n - nodejs\n - tmux\n - vim\n",
"license_type": "no_license",
"detected_licenses": [],
"size_byte... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 2816,
"all_permissive": false
} |
ansible_role | chuck650/cte | 2ed573b167fc51421abbf83aab78b6aacb47c5af | 1 | roles/cte-netsec | 371 | [
"no_license"
] | [
{
"path": "roles/cte-netsec/vars/main.yaml",
"content": "cte:\n netsec:\n networks:\n public: &pub\n name: 'cte-netsec'\n net: '10.240.243.0/24'\n gateway: '10.240.243.1'\n address: '10.240.243.1/24'\n domain: netsec.cte\n containers:\n - name: netsec-ca1\... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 2273,
"all_permissive": false
} |
ansible_role | chuck650/cte | 2ed573b167fc51421abbf83aab78b6aacb47c5af | 1 | roles/cte-tpd | 371 | [
"no_license"
] | [
{
"path": "roles/cte-tpd/meta/main.yaml",
"content": "---\ndependencies:\n - role: cte-common\n tags:\n - cte-tpd\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 65
},
{
"path": "roles/cte-tpd/vars/main.yaml",
"content": "cte:\n tpd:\n networks:\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 3137,
"all_permissive": false
} |
ansible_role | chuck650/cte | 2ed573b167fc51421abbf83aab78b6aacb47c5af | 1 | roles/disable_cloud_init | 371 | [
"no_license"
] | [
{
"path": "roles/disable_cloud_init/tasks/main.yaml",
"content": "---\n- name: Include disable cloud-init tasks\n include_tasks: disable_cloud_init.yaml\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 86
},
{
"path": "roles/disable_cloud_init/tasks/disable_cloud... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 359,
"all_permissive": false
} |
ansible_role | chuck650/cte | 2ed573b167fc51421abbf83aab78b6aacb47c5af | 1 | roles/get_config | 371 | [
"no_license"
] | [
{
"path": "roles/get_config/tasks/gather_network_facts.yaml",
"content": "---\n- name: Get network gather network facts\n setup:\n gather_subset:\n - network\n\n- name: Get physical wired predictable interfaces names\n command: find /sys/class/net -maxdepth 1 -type l -not -lname '*virtual*' -path ... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1420,
"all_permissive": false
} |
ansible_role | chuck650/cte | 2ed573b167fc51421abbf83aab78b6aacb47c5af | 1 | roles/lxd | 371 | [
"no_license"
] | [
{
"path": "roles/lxd/templates/ssh_host.j2",
"content": "Host {{ host.name }}\n HostName {{ host.ipv4 }}\n User {{ ansible_user_id }}\n IdentityFile ~/.ssh/id_ecdsa\n IdentitiesOnly yes\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 137
},
{
"path": ... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 12,
"total_bytes": 13597,
"all_permissive": false
} |
ansible_role | chuck650/cte | 2ed573b167fc51421abbf83aab78b6aacb47c5af | 1 | roles/lxd-container | 371 | [
"no_license"
] | [
{
"path": "roles/lxd-container/tasks/configure.yaml",
"content": "---\n- meta: refresh_inventory\n\n- block:\n\n - name: Show keys to add\n debug:\n var: keys\n verbosity: 1\n when:\n - container.apt_repositories is defined\n - container.apt_repositories.key is defined\n vars:\... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 3238,
"all_permissive": false
} |
ansible_role | chuck650/cte | 2ed573b167fc51421abbf83aab78b6aacb47c5af | 1 | roles/multipass | 371 | [
"no_license"
] | [
{
"path": "roles/multipass/tasks/main.yaml",
"content": "---\n- name: Install snapd and openssh-client packages\n apt:\n name: \"{{ item }}\"\n state: latest\n with_items:\n - snapd\n - openssh-client\n become: yes\n\n- name: Install multipass snap\n snap:\n name: multipass\n state: pr... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 273,
"all_permissive": false
} |
ansible_role | chuck650/cte | 2ed573b167fc51421abbf83aab78b6aacb47c5af | 1 | roles/mysql-server | 371 | [
"no_license"
] | [
{
"path": "roles/mysql-server/tasks/main.yaml",
"content": "---\n\n- block:\n\n - name: Install MySQL\n apt:\n name: \"{{ package }}\"\n state: latest\n loop:\n - python-mysqldb\n - python3-mysqldb\n - mysql-server\n loop_control:\n loop_var: package\n\n - name: Set ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2237,
"all_permissive": false
} |
ansible_role | chuck650/cte | 2ed573b167fc51421abbf83aab78b6aacb47c5af | 1 | roles/nginx-server | 371 | [
"no_license"
] | [
{
"path": "roles/nginx-server/templates/index.html.j2",
"content": "<!DOCTYPE html>\n<html>\n<body>\n\n<h1>Cyber Training Environment</h1>\n{% if lxd_data is defined %}\n<h2>{{ lxd_data.name }}</h2>\n{% endif %}\n\n<p>Welcome.</p>\n\n</body>\n</html>\n",
"license_type": "no_license",
"detected_licen... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 732,
"all_permissive": false
} |
ansible_role | chuck650/cte | 2ed573b167fc51421abbf83aab78b6aacb47c5af | 1 | roles/openvas | 371 | [
"no_license"
] | [
{
"path": "roles/openvas/handlers/main.yaml",
"content": "---\n# systemctl restart openvas-scanner\n- name: \"Restart openvas-scanner\"\n systemd:\n state: restarted\n daemon_reload: yes\n name: openvas-scanner\n\n# systemctl restart openvas-manager\n- name: \"Restart openvas-manager\"\n systemd:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 3506,
"all_permissive": false
} |
ansible_role | chuck650/cte | 2ed573b167fc51421abbf83aab78b6aacb47c5af | 1 | roles/openvswitch | 371 | [
"no_license"
] | [
{
"path": "roles/openvswitch/tasks/main.yaml",
"content": "---\n- name: Install openvswitch packages\n apt:\n name: \"{{ item }}\"\n state: latest\n with_items:\n - openvswitch-switch\n - openvswitch-pki\n become: yes\n tags:\n - install_openvswitch\n when: ansible_facts['os_family'] == ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 245,
"all_permissive": false
} |
ansible_role | chuck650/cte | 2ed573b167fc51421abbf83aab78b6aacb47c5af | 1 | roles/ovs_vlan_bridge | 371 | [
"no_license"
] | [
{
"path": "roles/ovs_vlan_bridge/vars/main.yaml",
"content": "ovs_vlan_bridge: ovs-vlan\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 26
},
{
"path": "roles/ovs_vlan_bridge/tasks/main.yaml",
"content": "---\n\n- name: Get ovs bridge interfaces names\n shel... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 1404,
"all_permissive": false
} |
ansible_role | chuck650/cte | 2ed573b167fc51421abbf83aab78b6aacb47c5af | 1 | roles/ssh_client | 371 | [
"no_license"
] | [
{
"path": "roles/ssh_client/tasks/main.yaml",
"content": "---\n- name: Install openvswitch packages\n apt:\n name: \"{{ item }}\"\n state: latest\n with_items:\n - openssh-client\n become: yes\n tags:\n - install_openssh\n when: ansible_facts['os_family'] == \"Debian\"\n\n# Create a ~/.ssh ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1674,
"all_permissive": false
} |
ansible_role | chuck650/cte | 2ed573b167fc51421abbf83aab78b6aacb47c5af | 1 | roles/systemd_networkd | 371 | [
"no_license"
] | [
{
"path": "roles/systemd_networkd/tasks/disable_NetworkManager_service.yaml",
"content": "---\n- name: Disable NetworkManager.service\n systemd:\n state: stopped\n masked: yes\n enabled: no\n name: NetworkManager.service\n become: yes\n\n- name: Remove netplan NetworkManager config files\n fi... | {
"task_files": 5,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 7,
"total_bytes": 3897,
"all_permissive": false
} |
ansible_role | mkushnir/mnci | e720e5431ed88825e81bf87fd3749deb09913f27 | 0 | ansible/playbooks/roles/admin | 371 | [
"no_license"
] | [
{
"path": "ansible/playbooks/roles/admin/tasks/main.yml",
"content": "---\n- name: Set authorized keys\n tags:\n - authkeys\n authorized_key:\n user: \"{{ ruser }}\"\n state: present\n comment: ansible-bot\n key: \"{{ lookup('file', ansible_pub_key) }}\"\n\n\n- name: Reboot\n tag... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1254,
"all_permissive": false
} |
ansible_role | mkushnir/mnci | e720e5431ed88825e81bf87fd3749deb09913f27 | 0 | ansible/playbooks/roles/common | 371 | [
"no_license"
] | [
{
"path": "ansible/playbooks/roles/common/vars/main.yml",
"content": "jenkins_pub_key: \"{{ lookup('env', 'HOME') }}/.ssh/id_rsa-jenkins-test.pub\"\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 76
},
{
"path": "ansible/playbooks/roles/common/tasks/main.yml",
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1442,
"all_permissive": false
} |
ansible_role | waldirio/watch_my_sat | 5231a0dab097c882a6b8dfa6e963cbe040c80e74 | 1 | roles/watchmysat-apache-exporter | 371 | [
"no_license"
] | [
{
"path": "roles/watchmysat-apache-exporter/templates/server-status.conf.j2",
"content": "LoadModule status_module modules/mod_status.so\nExtendedStatus on\n<Location /server-status>\n SetHandler server-status\n Order deny,allow\n Deny from all\n Allow from 127.0.0.1\n Allow from ::1\n</Locat... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 1706,
"all_permissive": false
} |
ansible_role | waldirio/watch_my_sat | 5231a0dab097c882a6b8dfa6e963cbe040c80e74 | 1 | roles/watchmysat-epel | 371 | [
"no_license"
] | [
{
"path": "roles/watchmysat-epel/tasks/main.yml",
"content": "- name: Check if EPEL is configured\n stat:\n path: /etc/yum.repos.d/epel.repo\n register: epel_repo_result\n\n- name: Install EPEL Repo\n yum:\n name: https://dl.fedoraproject.org/pub/epel/epel-release-latest-{{ ansible_distribution_maj... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 592,
"all_permissive": false
} |
ansible_role | waldirio/watch_my_sat | 5231a0dab097c882a6b8dfa6e963cbe040c80e74 | 1 | roles/watchmysat-mongodb-exporter | 371 | [
"no_license"
] | [
{
"path": "roles/watchmysat-mongodb-exporter/templates/mongodb_exporter.j2",
"content": "MONGODB_URL=\"mongodb://localhost:27017\"\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 40
},
{
"path": "roles/watchmysat-mongodb-exporter/tasks/main.yml",
"content": "... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 1414,
"all_permissive": false
} |
ansible_role | waldirio/watch_my_sat | 5231a0dab097c882a6b8dfa6e963cbe040c80e74 | 1 | roles/watchmysat-node-exporter | 371 | [
"no_license"
] | [
{
"path": "roles/watchmysat-node-exporter/tasks/main.yml",
"content": "---\n- name: Configure Prometheus Node Exporter repository on RHEL7\n yum_repository:\n name: prometheus-exporter\n description: Copr repo for prometheus-exporters owned by ibotty\n file: _copr_ibotty-prometheus-exporters\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 752,
"all_permissive": false
} |
ansible_role | waldirio/watch_my_sat | 5231a0dab097c882a6b8dfa6e963cbe040c80e74 | 1 | roles/watchmysat-postgres-exporter | 371 | [
"no_license"
] | [
{
"path": "roles/watchmysat-postgres-exporter/templates/postgres_exporter.service.j2",
"content": "[Unit]\nDescription=Postgres Exporter\n\n[Service]\nUser=root\nEnvironmentFile=/etc/sysconfig/postgres_exporter\nExecStart=/root/go/src/github.com/wrouesnel/postgres_exporter/postgres_exporter\nRestart=always\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 1910,
"all_permissive": false
} |
ansible_role | waldirio/watch_my_sat | 5231a0dab097c882a6b8dfa6e963cbe040c80e74 | 1 | roles/watchmysat-postgresql | 371 | [
"no_license"
] | [
{
"path": "roles/watchmysat-postgresql/tasks/main.yml",
"content": "---\n- name: Connect to {{ pgsql_foreman_database }}, create {{ pgsql_foreman_user }}, and grant access to database\n postgresql_user:\n db: \"{{ pgsql_foreman_database }}\"\n name: \"{{ pgsql_foreman_user }}\"\n password: \"{{ <P... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 360,
"all_permissive": false
} |
ansible_role | codilime/contrail-zuul-jobs | fc0cac173405fc884fa000b5bcff05355f6e2ead | 0 | roles/simple-check | 371 | [
"no_license"
] | [
{
"path": "roles/simple-check/tasks/main.yaml",
"content": "- name: Execute /bin/true\n shell: /bin/true\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 45
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 45,
"all_permissive": false
} |
ansible_role | OldCrowEW/usenet-auto-automation | e61be6c8b52ff1a8caea12a5cf125e258266b2a5 | 5 | roles/common | 371 | [
"no_license"
] | [
{
"path": "roles/common/tasks/main.yml",
"content": "---\n- name: Install epel repo\n yum: name=epel-release state=latest\n\n- name: Install openssl\n yum: name=openssl state=latest\n\n- name: Create group for our Usenet Accounts\n group: name=usenet state=present",
"license_type": "no_license",
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 206,
"all_permissive": false
} |
ansible_role | OldCrowEW/usenet-auto-automation | e61be6c8b52ff1a8caea12a5cf125e258266b2a5 | 5 | roles/couchpotato | 371 | [
"no_license"
] | [
{
"path": "roles/couchpotato/files/couchpotato.xml",
"content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<service>\n <short>CouchPotato Daemon</short>\n <description>CouchPotato PVR daemon service</description> \n <port protocol=\"tcp\" port=\"5050\"/>\n</service>",
"license_type": "no_license",
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1296,
"all_permissive": false
} |
ansible_role | OldCrowEW/usenet-auto-automation | e61be6c8b52ff1a8caea12a5cf125e258266b2a5 | 5 | roles/headphones | 371 | [
"no_license"
] | [
{
"path": "roles/headphones/files/headphones.xml",
"content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<service>\n <short>headphones Daemon</short>\n <description>headphones music daemon service</description> \n <port protocol=\"tcp\" port=\"8181\"/>\n</service>",
"license_type": "no_license",
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1850,
"all_permissive": false
} |
ansible_role | OldCrowEW/usenet-auto-automation | e61be6c8b52ff1a8caea12a5cf125e258266b2a5 | 5 | roles/nzbget | 371 | [
"no_license"
] | [
{
"path": "roles/nzbget/tasks/main.yml",
"content": "---\n- name: Install Packages\n yum: name={{ item }}\n with_items:\n - p7zip\n - par2cmdline\n\n- name: Create NZBget User\n user: name=nzbget shell=/bin/bash groups=usenet append=yes\n\n- name: Fetch NZBget Installer\n get_url: url=https://gith... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1448,
"all_permissive": false
} |
ansible_role | OldCrowEW/usenet-auto-automation | e61be6c8b52ff1a8caea12a5cf125e258266b2a5 | 5 | roles/sonarr | 371 | [
"no_license"
] | [
{
"path": "roles/sonarr/files/sonarr.xml",
"content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<service>\n <short>Sonarr Daemon</short>\n <description>Sonarr daemon service</description>\n <port protocol=\"tcp\" port=\"8989\"/>\n</service>",
"license_type": "no_license",
"detected_licenses": ... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 2906,
"all_permissive": false
} |
ansible_role | gsainath/ansible | fc8b753849fc01766741effa2744bb8ad2fd30a1 | 0 | ansible/LAMP/roles/dbservers | 374 | [
"no_license"
] | [
{
"path": "ansible/LAMP/roles/dbservers/tasks/main.yml",
"content": "--- # these tasks installs and enables apache on webservers\n - name: ensure mysql is installed\n apt: name={{ item }} state=present\n with_items:\n - mysql-server\n - python-dev\n - libmysqlclient-dev\n - name: MySQL-python\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 580,
"all_permissive": false
} |
ansible_role | gsainath/ansible | fc8b753849fc01766741effa2744bb8ad2fd30a1 | 0 | ansible/LAMP/roles/webservers | 374 | [
"no_license"
] | [
{
"path": "ansible/LAMP/roles/webservers/tasks/main.yml",
"content": "--- # Tasks installs and enables apache on webservers\n # These tasks installs and enables php relates packages\n - name: ensure apache,php related packages is installed\n apt: name={{ item }} state=latest\n with_items:\n - apac... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1325,
"all_permissive": false
} |
ansible_role | gsainath/ansible | fc8b753849fc01766741effa2744bb8ad2fd30a1 | 0 | ansible/playbook1/roles/example | 374 | [
"no_license"
] | [
{
"path": "ansible/playbook1/roles/example/vars/main.yml",
"content": "---\n - epic: true\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 18
},
{
"path": "ansible/playbook1/roles/example/tasks/main.yml",
"content": "---\n - shell: echo \"This certainly is epi... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 77,
"all_permissive": false
} |
ansible_role | gsainath/ansible | fc8b753849fc01766741effa2744bb8ad2fd30a1 | 0 | ansible/playbooks/framework/roles/redhatwebservers | 374 | [
"no_license"
] | [
{
"path": "ansible/playbooks/framework/roles/redhatwebservers/tasks/main.yml",
"content": "- name: Install Apache on Centos\n yum: pkg='{{ redhat_apache}}' state=latest\n when: ansible_os_family == \"RedHat\"\n notify: Restart httpd\n ignore_errors: yes\n- name: Install Apache on Ubuntu\n apt: pkg='{{ ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 324,
"all_permissive": false
} |
ansible_role | c20855261/ansible | 905b5fb8b0ffafa6bb0d91c743ee6e2dd9bc625f | 0 | config/roles/openresty | 374 | [
"no_license"
] | [
{
"path": "config/roles/openresty/defaults/main.yml",
"content": "---\nopenresty_install_path: \"/opt/openresty\"\nnginx_path: \"{{ openresty_install_path }}/nginx\"\nnginx_conf_path: \"{{ nginx_path }}/conf\"\n#openresty_version: \"1.25\"\nopenresty_version: \"openresty-1.25.tar.gz\"\n#openresty_tarball: \... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 8,
"total_bytes": 21001,
"all_permissive": false
} |
ansible_role | pharriso/pacman | e9690f57832e97097545f5f0b8d393c6b70cdd44 | 0 | roles/aws_instances | 374 | [
"no_license"
] | [
{
"path": "roles/aws_instances/meta/main.yml",
"content": "galaxy_info:\n author: <NAME>\n description: create one or more rhel vms\n company: pharriso\n\n license: MIT\n\n min_ansible_version: 2.9\n\n platforms:\n - name: rhel\n versions:\n - 8\n\n galaxy_tags: []\n\ndependencies: []\n",
... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1372,
"all_permissive": false
} |
ansible_role | pharriso/pacman | e9690f57832e97097545f5f0b8d393c6b70cdd44 | 0 | roles/deploy_app | 374 | [
"no_license"
] | [
{
"path": "roles/deploy_app/tasks/main.yml",
"content": "---\n\n- name: install packages\n package:\n name: \n - nginx\n - git\n state: installed\n\n- name: write nginx.conf\n template:\n src: nginx.conf.j2\n dest: /etc/nginx/nginx.conf\n\n- name: clone repo\n git:\n repo: https:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 414,
"all_permissive": false
} |
ansible_role | pharriso/pacman | e9690f57832e97097545f5f0b8d393c6b70cdd44 | 0 | roles/find_subnet | 374 | [
"no_license"
] | [
{
"path": "roles/find_subnet/tasks/main.yml",
"content": "---\n\n- name: find vpc id\n ec2_vpc_net_info:\n region: \"{{ ec2_region }}\"\n filters:\n \"tag:Name\": \"{{ vpc_name }}\"\n register: found_vpcs\n\n- name: find subnet id\n ec2_vpc_subnet_info:\n region: \"{{ ec2_region }}\"\n f... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 382,
"all_permissive": false
} |
ansible_role | jonathaneliasson/my-macos | 0abb520665159dc4a223cbb6e7a6642226a88df8 | 0 | roles/atom | 374 | [
"no_license"
] | [
{
"path": "roles/atom/defaults/main.yml",
"content": "atom_packages:\n - minimap\n - linter\n - atom-beautify\n - file-icons\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 71
},
{
"path": "roles/atom/tasks/install-packages.yml",
"content": "---\n- name: ... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 533,
"all_permissive": false
} |
ansible_role | jonathaneliasson/my-macos | 0abb520665159dc4a223cbb6e7a6642226a88df8 | 0 | roles/dotfiles | 374 | [
"no_license"
] | [
{
"path": "roles/dotfiles/defaults/main.yml",
"content": "---\ndotfiles_repo: \"https://github.com/jonathaneliasson/macos-dot-files.git\"\ndotfiles_repo_accept_hostkey: no\ndotfiles_destination: \"~/\"\n\ndotfiles:\n - .aliases\n - .gitconfig\n - .gitignore_global\n - .osx\n - .vimrc\n - .zshrc\n",
... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 890,
"all_permissive": false
} |
ansible_role | jonathaneliasson/my-macos | 0abb520665159dc4a223cbb6e7a6642226a88df8 | 0 | roles/shell | 374 | [
"no_license"
] | [
{
"path": "roles/shell/tasks/main.yml",
"content": "- name: Ensure hyper is installed.\n homebrew: \n name: hyper\n state: present\n\n- name: :wq\n\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 97
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 97,
"all_permissive": false
} |
ansible_role | manjitmaharjan/NewProject | b3aa98330e3928c93646f3c1c75e70fa75133bd4 | 0 | roles/nginx | 374 | [
"no_license"
] | [
{
"path": "roles/nginx/tasks/main.yml",
"content": "---\n- name: Updated apt cache\n apt:\n update_cache: yes\n cache_valid_time: 3600\n become: true\n\n- name: Install nginx\n apt: name={{ item }} state=present\n become: true\n with_items:\n - nginx\n - supervisor\n\n\n- name: start nginx\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 393,
"all_permissive": false
} |
ansible_role | RahulYadav22775/expense-ansible-roles | 01b30a2d90a6a31e3d2e1936c1e84a7002498de0 | 0 | roles/backend | 372 | [
"no_license"
] | [
{
"path": "roles/backend/vars/main.yaml",
"content": " # mysql_root_password: <PASSWORD>\n # login_host: \"mysql.gopi-81s.online\"\n app_location: /app\n component: backend",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 125
},
{
"path": "roles/backend/... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2257,
"all_permissive": false
} |
ansible_role | RahulYadav22775/expense-ansible-roles | 01b30a2d90a6a31e3d2e1936c1e84a7002498de0 | 0 | roles/common | 372 | [
"no_license"
] | [
{
"path": "roles/common/tasks/app-pre-req.yaml",
"content": "- name: remove a directory\n ansible.builtin.file:\n path: \"{{ app_location }}\"\n state: absent\n ignore_errors: true\n\n- name: create a directory\n ansible.builtin.file:\n path: \"{{ app_location }}\"\n state: directory\n\n# -... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 673,
"all_permissive": false
} |
ansible_role | RahulYadav22775/expense-ansible-roles | 01b30a2d90a6a31e3d2e1936c1e84a7002498de0 | 0 | roles/frontend | 372 | [
"no_license"
] | [
{
"path": "roles/frontend/tasks/main.yaml",
"content": " - name: install nginx\n ansible.builtin.package:\n name: nginx\n state: present\n \n - name: start nginx service\n ansible.builtin.service:\n name: nginx\n state: started\n enabled: yes\n\n - name: import tasks f... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1201,
"all_permissive": false
} |
ansible_role | RahulYadav22775/expense-ansible-roles | 01b30a2d90a6a31e3d2e1936c1e84a7002498de0 | 0 | roles/mysql | 372 | [
"no_license"
] | [
{
"path": "roles/mysql/tasks/main.yaml",
"content": " - name: install mysql-server\n ansible.builtin.package:\n name: mysql-server\n state: present\n\n - name: start mysql service\n ansible.builtin.service:\n name: mysqld\n state: started\n enabled: yes\n\n - name: installi... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1060,
"all_permissive": false
} |
ansible_role | kzwolenik95/k8s-on-premise | 6686a5315cc7d60820158e62c1be579f0339ab71 | 0 | roles/docker | 372 | [
"no_license"
] | [
{
"path": "roles/docker/tasks/main.yaml",
"content": "---\n- name: Install docker dependencies\n apt:\n pkg:\n - ca-certificates\n - curl\n - gnupg\n - lsb-release\n state: present\n update_cache: yes\n\n- name: Add official Docker GPG key\n apt_key:\n url: https://download... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 917,
"all_permissive": false
} |
ansible_role | kzwolenik95/k8s-on-premise | 6686a5315cc7d60820158e62c1be579f0339ab71 | 0 | roles/kubeHA | 372 | [
"no_license"
] | [
{
"path": "roles/kubeHA/tasks/main.yaml",
"content": "- name: Copy keepalived and haproxy conf files - master\n become: no\n copy:\n src: \"{{item}}\"\n dest: /home/vagrant/HAconf/\n with_fileglob:\n - master/*\n when: inventory_hostname == \"10.0.0.10\"\n\n- name: Copy keepalived and haproxy c... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1269,
"all_permissive": false
} |
ansible_role | kzwolenik95/k8s-on-premise | 6686a5315cc7d60820158e62c1be579f0339ab71 | 0 | roles/kubernetes | 372 | [
"no_license"
] | [
{
"path": "roles/kubernetes/tasks/main.yaml",
"content": "- name: Disable SWAP since kubernetes can't work with swap enabled (1/2)\n shell: |\n swapoff -a\n\n- name: Disable SWAP in fstab since kubernetes can't work with swap enabled (2/2)\n replace:\n path: /etc/fstab\n regexp: '^([^#].*?\\sswap... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1399,
"all_permissive": false
} |
ansible_role | dmitryilyin/hadoop-training | 48efff1ab347c970e8cbbf89525bae9911626c91 | 0 | provisioning/roles/ambari | 372 | [
"no_license"
] | [
{
"path": "provisioning/roles/ambari/tasks/main.yml",
"content": "---\n\n- name: Install the Ambari Server package\n yum:\n name: ambari-server\n state: present\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 97
},
{
"path": "provisioning/roles/ambari/meta... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 181,
"all_permissive": false
} |
ansible_role | dmitryilyin/hadoop-training | 48efff1ab347c970e8cbbf89525bae9911626c91 | 0 | provisioning/roles/bootstrap | 372 | [
"no_license"
] | [
{
"path": "provisioning/roles/bootstrap/tasks/packages.yml",
"content": "---\n\n- name: Install the common packages\n package:\n pkg: \"{{item}}\"\n state: present\n with_items:\n - net-tools\n - wget\n - lsof\n - mc\n - tcpdump\n - nmap\n - curl\n - iotop\n - vim\n - s... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 1443,
"all_permissive": false
} |
ansible_role | dmitryilyin/hadoop-training | 48efff1ab347c970e8cbbf89525bae9911626c91 | 0 | provisioning/roles/firewall | 372 | [
"no_license"
] | [
{
"path": "provisioning/roles/firewall/tasks/main.yml",
"content": "---\n\n- name: Disable the Firewalld service\n service:\n name: firewalld\n enabled: false\n state: stopped\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 112
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 112,
"all_permissive": false
} |
ansible_role | dmitryilyin/hadoop-training | 48efff1ab347c970e8cbbf89525bae9911626c91 | 0 | provisioning/roles/hosts | 372 | [
"no_license"
] | [
{
"path": "provisioning/roles/hosts/tasks/main.yml",
"content": "---\n\n- name: \"Build the /etc/hosts file\"\n lineinfile:\n dest: /etc/hosts\n regexp: '.*{{ item }}$'\n line: \"{{ hostvars[item]['ip'] }} {{item}}\"\n state: present\n when: hostvars[item]['ip'] is defined\n with_items: '{{ g... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 244,
"all_permissive": false
} |
ansible_role | dmitryilyin/hadoop-training | 48efff1ab347c970e8cbbf89525bae9911626c91 | 0 | provisioning/roles/keys | 372 | [
"no_license"
] | [
{
"path": "provisioning/roles/keys/tasks/main.yml",
"content": "---\n\n- name: Install the SSH Public key for\n authorized_key:\n user: root\n state: present\n key: \"{{ lookup('file', 'id_rsa.pub') }}\"\n\n- name: Install the SSH Public key for\n authorized_key:\n user: vagrant\n state: pr... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 874,
"all_permissive": false
} |
ansible_role | dmitryilyin/hadoop-training | 48efff1ab347c970e8cbbf89525bae9911626c91 | 0 | provisioning/roles/mariadb | 372 | [
"no_license"
] | [
{
"path": "provisioning/roles/mariadb/meta/main.yml",
"content": "---\n\ndependencies:\n - role: yum/mariadb\n\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 42
},
{
"path": "provisioning/roles/mariadb/tasks/main.yml",
"content": "---\n\n- name: Install the... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 331,
"all_permissive": false
} |
ansible_role | dmitryilyin/hadoop-training | 48efff1ab347c970e8cbbf89525bae9911626c91 | 0 | provisioning/roles/ntp | 372 | [
"no_license"
] | [
{
"path": "provisioning/roles/ntp/tasks/main.yml",
"content": "---\n\n- name: Install the NTP package\n yum:\n name: ntp\n state: present\n\n- name: Run and enable the ntp service\n service:\n name: ntpd\n state: started\n enabled: yes\n",
"license_type": "no_license",
"detected_lic... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 179,
"all_permissive": false
} |
ansible_role | zaidsasa/vagrant-kubernetes-cluster | e75e945dcb292d371d217141fdb163c1a5280656 | 2 | provisioning/roles/common | 372 | [
"no_license"
] | [
{
"path": "provisioning/roles/common/tasks/multicast-dns.yaml",
"content": "- name: Install multicast packages\n become: true\n ansible.builtin.apt:\n name: \"{{ item }}\"\n state: present\n loop:\n - avahi-daemon\n - libnss-mdns\n",
"license_type": "no_license",
"detected_licenses": ... | {
"task_files": 6,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 7,
"total_bytes": 4052,
"all_permissive": false
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.