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
cdot65/paloaltonetworks-automation-examples
97f8533ae5a94aef6c8590990a7b5ba79f4330f4
6
ansible/tls-decryption-remediation/roles/windows
7,844
[ "no_license" ]
[ { "path": "ansible/tls-decryption-remediation/roles/windows/tasks/main.yml", "content": "- name: Copy Root-CA.pem Certificate to the Windows Machine\n ansible.windows.win_copy:\n src: /var/tmp/Root-CA.pem\n dest: \"{{ ansible_env.TEMP }}\\\\Root-CA.pem\"\n\n- name: Import Root-CA.pem Certificate into...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 359, "all_permissive": false }
ansible_role
hmadison/dc-devops-teleport
fd138840d6939dc6e2b2fc3916be93ea413bb46c
2
roles/demo_user
7,844
[ "no_license" ]
[ { "path": "roles/demo_user/tasks/main.yml", "content": "---\n- name: Install epel\n package:\n name: \"https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm\"\n state: present\n\n- name: Install fish\n package:\n name: fish\n state: present\n\n- name: Create fish demo user\n ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 284, "all_permissive": false }
ansible_role
hmadison/dc-devops-teleport
fd138840d6939dc6e2b2fc3916be93ea413bb46c
2
roles/teleport
7,844
[ "no_license" ]
[ { "path": "roles/teleport/templates/teleport.yml", "content": "---\nteleport:\n nodename: graviton-auth\n data_dir: /var/lib/teleport\nauth_service:\n enabled: \"yes\"\nssh_service:\n enabled: \"yes\"\nproxy_service:\n enabled: \"yes\"\n", "license_type": "no_license", "detected_licenses": [], ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 962, "all_permissive": false }
ansible_role
emhelmich/podman-runner
a7f70add682a3fb47c8a6401938b7bdc73922f0d
0
roles/podman
7,844
[ "no_license" ]
[ { "path": "roles/podman/vars/main.yml", "content": "PODMAN_STORAGE_DIR: /appl/podman/containers/storage\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 52 }, { "path": "roles/podman/tasks/main.yml", "content": "---\n- name: Install podman\n become: true\n a...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 2525, "all_permissive": false }
ansible_role
danielhauck/mac-ansible-setup
b5be45c9f3c4d60be592e2545351b8cdfd8e1d3a
0
roles/settings
7,844
[ "no_license" ]
[ { "path": "roles/settings/tasks/main.yml", "content": "- name: disable long press accenture recommendation \n raw: defaults write -g ApplePressAndHoldEnabled -bool false", "license_type": "no_license", "detected_licenses": [], "size_bytes": 114 } ]
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 114, "all_permissive": false }
ansible_role
danielhauck/mac-ansible-setup
b5be45c9f3c4d60be592e2545351b8cdfd8e1d3a
0
roles/software
7,844
[ "no_license" ]
[ { "path": "roles/software/tasks/desktop.yml", "content": "- name: install desktop software\n homebrew_cask:\n name: \"{{ item }}\"\n state: present\n with_items:\n - phpstorm\n - alfred\n - visual-studio-code\n - google-chrome\n - google-chrome-canary\n - firefox\n - sequel-pro\...
{ "task_files": 3, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 3, "total_bytes": 838, "all_permissive": false }
ansible_role
danielhauck/mac-ansible-setup
b5be45c9f3c4d60be592e2545351b8cdfd8e1d3a
0
roles/zsh
7,844
[ "no_license" ]
[ { "path": "roles/zsh/tasks/main.yml", "content": "- name: install zsh and completions\n homebrew:\n name: \"{{ item }}\"\n state: present\n with_items:\n - zsh \n - zsh-completions\n\n- name: install oh-my-zsh\n raw: sh -c \"$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zs...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 357, "all_permissive": false }
ansible_role
subbarao2014/scafholding2
0a2b488c367f35ce5b7c0bcf3efe4a06c796c896
0
Apigee_API_Migration_Scaffolding-master/roles/git_push
7,844
[ "no_license" ]
[ { "path": "Apigee_API_Migration_Scaffolding-master/roles/git_push/vars/main.yml", "content": "gitlab_server_hostname: \"NE1ITCPRHAS62.ne1.savvis.net\"\ngitlab_credentials:\n username: \"{{ cicd_username }}\"\n password: \"{{ <PASSWORD> }}\"\n grant_type: \"password\"\ngitlab_project:\n name: \"{{ api_name}}...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 1463, "all_permissive": false }
ansible_role
subbarao2014/scafholding2
0a2b488c367f35ce5b7c0bcf3efe4a06c796c896
0
Apigee_API_Migration_Scaffolding-master/roles/sec_patterns
7,844
[ "no_license" ]
[ { "path": "Apigee_API_Migration_Scaffolding-master/roles/sec_patterns/vars/main.yml", "content": "edge_config:\n version: '1.0'\n envConfig:\n dev:\n targetServers:\n - name: \"{{ target_server }}\"\n host: \"{{ target_server_host }}\"\n isEnabled: true\n port: \"{{ targe...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 8, "total_bytes": 8495, "all_permissive": false }
ansible_role
subbarao2014/scafholding2
0a2b488c367f35ce5b7c0bcf3efe4a06c796c896
0
Apigee_API_Scaffolding-master/roles/configure_proxy
7,844
[ "no_license" ]
[ { "path": "Apigee_API_Scaffolding-master/roles/configure_proxy/tasks/main.yml", "content": "- vars:\n swagger_file: \"{{ lookup('file', swaggerspec) }}\"\n- name: Get host value\n set_fact:\n target_server_host: \"https://{{ swagger_file.host }}\"\n- name: Get basePath value\n set_fact:\n target_...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 1223, "all_permissive": false }
ansible_role
subbarao2014/scafholding2
0a2b488c367f35ce5b7c0bcf3efe4a06c796c896
0
Apigee_API_Scaffolding-master/roles/create_proxy_from_spec
7,844
[ "no_license" ]
[ { "path": "Apigee_API_Scaffolding-master/roles/create_proxy_from_spec/tasks/main.yml", "content": "- name: Creates api directory \n file: path=./{{ api_name }} state=directory\n tags: always\n- name: execute openapi2apigee\n shell: openapi2apigee generateApi {{ api_name }} -s {{ api_name }}swagger -d .\n...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 518, "all_permissive": false }
ansible_role
subbarao2014/scafholding2
0a2b488c367f35ce5b7c0bcf3efe4a06c796c896
0
Apigee_API_Scaffolding-master/roles/jenkins_jobs
7,844
[ "no_license" ]
[ { "path": "Apigee_API_Scaffolding-master/roles/jenkins_jobs/vars/main.yml", "content": "jenkins_server_hostname: \"jenkinstest.test.intranet:8443\"", "license_type": "no_license", "detected_licenses": [], "size_bytes": 57 }, { "path": "Apigee_API_Scaffolding-master/roles/jenkins_jobs/tas...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 840, "all_permissive": false }
ansible_role
subbarao2014/scafholding2
0a2b488c367f35ce5b7c0bcf3efe4a06c796c896
0
Apigee_API_Scaffolding-master/roles/sec_patterns
7,844
[ "no_license" ]
[ { "path": "Apigee_API_Scaffolding-master/roles/sec_patterns/vars/main.yml", "content": "edge_config:\n version: '1.0'\n envConfig:\n dev:\n targetServers:\n - name: \"{{ target_server_name }}\"\n host: \"{{ target_server_host }}\"\n isEnabled: true\n port: \"{{ target_ser...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 4, "total_bytes": 8532, "all_permissive": false }
ansible_role
brenescoto/three_tier
fc451e63ab7ec8b9987b65b3a080751a41cfd917
0
roles/app-tier
7,844
[ "no_license" ]
[ { "path": "roles/app-tier/handlers/main.yml", "content": "- name: restart_tomcat\n service:\n name: \"{{ tomcat_srv }}\"\n state: restarted\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 82 }, { "path": "roles/app-tier/tasks/main.yml", "content": "---\n...
{ "task_files": 1, "has_defaults": false, "has_handlers": true, "has_templates": false }
{ "file_count": 3, "total_bytes": 610, "all_permissive": false }
ansible_role
brenescoto/three_tier
fc451e63ab7ec8b9987b65b3a080751a41cfd917
0
roles/db-tier
7,844
[ "no_license" ]
[ { "path": "roles/db-tier/tasks/main.yml", "content": "---\n# tasks file for roles/db-tier\n\n- name: Install postgresql\n yum:\n name: postgresql-server\n state: latest\n\n#- name: Start mysql\n# service:\n# name: postgresql\n# enabled: true\n# state: started\n", "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
SwissDataScienceCenter/renku-admin-docs
4a945bd37bf8bc6e10feb81c605bb72714100509
3
openstack/roles/docker
7,844
[ "no_license" ]
[ { "path": "openstack/roles/docker/tasks/main.yml", "content": "---\n- name: Install yum-utils\n yum:\n name: yum-utils\n state: latest\n update_cache: yes\n\n- name: Add docker-ce repo\n command: yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo creates=/etc/yu...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 798, "all_permissive": false }
ansible_role
SwissDataScienceCenter/renku-admin-docs
4a945bd37bf8bc6e10feb81c605bb72714100509
3
openstack/roles/inventory
7,844
[ "no_license" ]
[ { "path": "openstack/roles/inventory/tasks/main.yml", "content": "---\n- name: Update ansible inventory\n template:\n src: files/hosts.j2\n dest: /tmp/hosts\n\n- command: mv /tmp/hosts hosts.yml\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 130 } ]
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 130, "all_permissive": false }
ansible_role
SwissDataScienceCenter/renku-admin-docs
4a945bd37bf8bc6e10feb81c605bb72714100509
3
openstack/roles/kernel4-common
7,844
[ "no_license" ]
[ { "path": "openstack/roles/kernel4-common/tasks/main.yml", "content": "---\n- name: Add ELRepo rpm key\n rpm_key:\n state: present\n key: https://www.elrepo.org/RPM-GPG-KEY-elrepo.org\n\n- name: Install ELRepo\n yum:\n name: http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm\n st...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 753, "all_permissive": false }
ansible_role
SwissDataScienceCenter/renku-admin-docs
4a945bd37bf8bc6e10feb81c605bb72714100509
3
openstack/roles/kernel4-master
7,844
[ "no_license" ]
[ { "path": "openstack/roles/kernel4-master/tasks/main.yml", "content": "---\n- import_role:\n name: kernel4-common\n\n- name: Wait for master to come back\n wait_for:\n host: \"{{ hostvars[groups.master[0]].ansible_host }}\"\n port: 22\n search_regex: OpenSSH\n timeout: 600\n\n- name: Remove ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 391, "all_permissive": false }
ansible_role
SwissDataScienceCenter/renku-admin-docs
4a945bd37bf8bc6e10feb81c605bb72714100509
3
openstack/roles/kernel4-nodes
7,844
[ "no_license" ]
[ { "path": "openstack/roles/kernel4-nodes/tasks/main.yml", "content": "---\n- import_role:\n name: kernel4-common\n\n- name: Wait for nodes to come back\n wait_for:\n host: \"{{ (ansible_ssh_host|default(ansible_host))|default(inventory_hostname) }}\"\n port: 22\n search_regex: OpenSSH\n time...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 459, "all_permissive": false }
ansible_role
SwissDataScienceCenter/renku-admin-docs
4a945bd37bf8bc6e10feb81c605bb72714100509
3
openstack/roles/kubeadm-install
7,844
[ "no_license" ]
[ { "path": "openstack/roles/kubeadm-install/tasks/main.yml", "content": "---\n- name: Set up ip forwarding\n sysctl:\n name: \"{{ item }}\"\n value: 1\n state: present\n reload: yes\n with_items:\n - net.bridge.bridge-nf-call-ip6tables\n - net.bridge.bridge-nf-call-iptables\n\n- name: Add Kub...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 2020, "all_permissive": false }
ansible_role
SwissDataScienceCenter/renku-admin-docs
4a945bd37bf8bc6e10feb81c605bb72714100509
3
openstack/roles/kubeadm-master
7,844
[ "no_license" ]
[ { "path": "openstack/roles/kubeadm-master/tasks/main.yml", "content": "---\n- name: Check for existing kubelet configuration\n stat:\n path: /etc/kubernetes/kubelet.conf\n register: kubelet_conf\n\n- name: kubeadm token generate\n command: kubeadm token generate\n register: token1\n when: kubelet_co...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 3403, "all_permissive": false }
ansible_role
SwissDataScienceCenter/renku-admin-docs
4a945bd37bf8bc6e10feb81c605bb72714100509
3
openstack/roles/kubeadm-nodes
7,844
[ "no_license" ]
[ { "path": "openstack/roles/kubeadm-nodes/tasks/main.yml", "content": "---\n- name: kubeadm join\n command: \"kubeadm join --discovery-token-unsafe-skip-ca-verification --token {{ hostvars[groups.master[0]]['token'].stdout }} {{ hostvars[groups.master[0]].internal_ip }}:6443\"\n args:\n creates: /etc/ku...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 254, "all_permissive": false }
ansible_role
SwissDataScienceCenter/renku-admin-docs
4a945bd37bf8bc6e10feb81c605bb72714100509
3
openstack/roles/kubeconfig
7,844
[ "no_license" ]
[ { "path": "openstack/roles/kubeconfig/tasks/main.yml", "content": "---\n- name: Retrieve kubectl configuration\n fetch:\n src: /etc/kubernetes/admin.conf\n dest: admin.conf\n flat: yes\n fail_on_missing: yes\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 14...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 148, "all_permissive": false }
ansible_role
SwissDataScienceCenter/renku-admin-docs
4a945bd37bf8bc6e10feb81c605bb72714100509
3
openstack/roles/openstack-common
7,844
[ "no_license" ]
[ { "path": "openstack/roles/openstack-common/tasks/main.yml", "content": "---\n- name: Wait for cloud-init to finish\n raw: while ! test -f /var/lib/cloud/instance/boot-finished; do sleep 1; done\n tags:\n - skip_ansible_lint\n\n- name: Setup\n action: setup\n", "license_type": "no_license", "det...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 182, "all_permissive": false }
ansible_role
SwissDataScienceCenter/renku-admin-docs
4a945bd37bf8bc6e10feb81c605bb72714100509
3
openstack/roles/openstack-master
7,844
[ "no_license" ]
[ { "path": "openstack/roles/openstack-master/tasks/main.yml", "content": "---\n- name: Get cloud configuration\n os_client_config:\n\n- name: Create OpenStack instance\n os_server:\n security_groups: \"{{ name }}-master\"\n state: present\n name: \"{{ name }}-master\"\n image: \"{{ lookup('env'...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1636, "all_permissive": false }
ansible_role
SwissDataScienceCenter/renku-admin-docs
4a945bd37bf8bc6e10feb81c605bb72714100509
3
openstack/roles/openstack-nodes
7,844
[ "no_license" ]
[ { "path": "openstack/roles/openstack-nodes/tasks/main.yml", "content": "- name: Get cloud configuration\n os_client_config:\n\n- name: Create OpenStack instance\n os_server:\n security_groups: \"{{ name }}-nodes\"\n state: present\n name: \"{{ name }}-node-{{ item }}\"\n image: \"{{ lookup('en...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1635, "all_permissive": false }
ansible_role
SwissDataScienceCenter/renku-admin-docs
4a945bd37bf8bc6e10feb81c605bb72714100509
3
openstack/roles/openstack-security-groups
7,844
[ "no_license" ]
[ { "path": "openstack/roles/openstack-security-groups/tasks/main.yml", "content": "---\n- name: Create master security group\n os_security_group:\n name: \"{{ name }}-master\"\n state: present\n\n- name: Create nodes security group\n os_security_group:\n name: \"{{ name }}-nodes\"\n state: pres...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1484, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/change-hostname
7,844
[ "no_license" ]
[ { "path": "roles/change-hostname/tasks/main.yml", "content": "- name: 修改主机名\n shell: hostnamectl set-hostname {{ host_name }}\n when: host_name is defined\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 93 } ]
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 93, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/change-mq-sysconf
7,844
[ "no_license" ]
[ { "path": "roles/change-mq-sysconf/tasks/main.yml", "content": "- name: change sys conf\n lineinfile:\n dest: /etc/sysctl.conf\n line: \"{{ item }}\"\n with_items:\n - \"fs.file-max = 2097152\"\n - \"vm.drop_caches = 1\"\n - \"vm.zone_reclaim_mode = 0\"\n - \"vm.dirty_background_ratio = ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 884, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/change-sysconf
7,844
[ "no_license" ]
[ { "path": "roles/change-sysconf/tasks/main.yml", "content": "- name: modify limits\n lineinfile:\n path: /etc/security/limits.conf\n line: \"{{ item }}\"\n with_items:\n - \"root hard nproc 655360\"\n - \"root soft nproc 655360\"\n - \"root hard nofile 1048576\"\n - \"root soft nofile 10...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1474, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/disable-firewalld
7,844
[ "no_license" ]
[ { "path": "roles/disable-firewalld/tasks/main.yml", "content": "- name: 关闭防火墙\n systemd:\n name: ufw\n state: stopped\n enabled: no\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 74 } ]
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 74, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/image-pushto-harbor
7,844
[ "no_license" ]
[ { "path": "roles/image-pushto-harbor/tasks/main.yaml", "content": "- name: 检查daemon.json文件\n stat:\n path: /etc/docker/daemon.json\n register: check_json\n\n- name: daemon.json文件不存在时复制模板\n template:\n src: /etc/ansible/roles/install-docker/templates/daemon.json.j2\n dest: \"/etc/docker/daemon.js...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 14838, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-app
7,844
[ "no_license" ]
[ { "path": "roles/install-app/templates/online/0notice-gray-namespace.yaml.j2", "content": "apiVersion: v1\nkind: Namespace\nmetadata:\n name: notice-gray\n---\napiVersion: v1\nkind: ServiceAccount\nmetadata:\n name: notice-gray-admin\n namespace: notice-gray\n---\napiVersion: rbac.authorization.k8s.io/v1...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 22, "total_bytes": 52801, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-apt-source
7,844
[ "no_license" ]
[ { "path": "roles/install-apt-source/templates/sources.list.j2", "content": "deb [trusted=yes] http://{{ ansible_controller_ip }}:80/ubuntu-local packages/", "license_type": "no_license", "detected_licenses": [], "size_bytes": 79 }, { "path": "roles/install-apt-source/tasks/main.yaml", ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 428, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-chrony-client
7,844
[ "no_license" ]
[ { "path": "roles/install-chrony-client/templates/chrony.conf.j2", "content": "### 只有一台server的时候,可以不写prefer和trust\n{% for chrony_server in chrony_servers.split(\",\") %}\n{% if loop.index == 1 and loop.length == 2 %}\nserver {{ chrony_server }} iburst prefer trust\n{% else %}\nserver {{ chrony_server }} ibur...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 961, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-containerd
7,844
[ "no_license" ]
[ { "path": "roles/install-containerd/tasks/main.yaml", "content": "- name: 环境变量添加swapoff\n lineinfile:\n path: /etc/profile\n state: present\n regexp: '^swapoff'\n line: swapoff -a\n\n- name: 命令行关闭交换分区swapoff\n shell: swapoff -a\n\n- name: 01修改开启启动配置/etc/fstab,关闭swapoff\n shell: sed -i '/ swap...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 3159, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-cri-dockerd
7,844
[ "no_license" ]
[ { "path": "roles/install-cri-dockerd/tasks/main.yml", "content": "- name: 环境变量添加至k8s.conf\n shell: |\n cat <<EOF | tee /etc/modules-load.d/k8s.conf\n overlay\n br_netfilter\n EOF\n\n- name: 使修改的环境变量生效modprobe overlay\n shell: \"modprobe overlay\"\n\n- name: 查询modprobe overlay\n shell: \"lsmod...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1538, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-dns-client
7,844
[ "no_license" ]
[ { "path": "roles/install-dns-client/tasks/main.yml", "content": "- name: backup resolv.conf\n shell: \"mv /etc/resolv.conf /etc/resolv.conf.bak\"\n\n- name: 配置resolve.conf\n lineinfile:\n path: /etc/resolv.conf\n line: \"nameserver {{ item }}\"\n state: present\n create: true\n with_items: '...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 259, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-docker
7,844
[ "no_license" ]
[ { "path": "roles/install-docker/templates/docker-install-localhost.sh.j2", "content": "#!/bin/sh\n/usr/bin/dpkg -i /local/docker-registry/*.deb", "license_type": "no_license", "detected_licenses": [], "size_bytes": 55 }, { "path": "roles/install-docker/tasks/main.yml", "content": "- ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 1488, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-filebeat
7,844
[ "no_license" ]
[ { "path": "roles/install-filebeat/templates/filebeat-nginx.yml.j2", "content": "filebeat.inputs:\n - type: log\n paths:\n - \"{{ nginx_root_dir }}/log/*.log\"\n multiline.pattern: '^\\d{4}[-/]\\d{1,2}[-/]\\d{1,2}'\n multiline.negate: true\n multiline.match: after\n processors:\n - ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 6, "total_bytes": 4238, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-gaussdb-logstash
7,844
[ "no_license" ]
[ { "path": "roles/install-gaussdb-logstash/templates/gauss-alert.conf.j2", "content": "# Sample Logstash configuration for creating a simple\n# Beats -> Logstash -> Elasticsearch pipeline.\n\ninput {\n file {\n path => \"/var/log/gaussdb/omm/alarm/*/*.log\"\n type => \"alarm\"\n codec => multiline ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 3, "total_bytes": 5448, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-gaussdb-scriptMonitor
7,844
[ "no_license" ]
[ { "path": "roles/install-gaussdb-scriptMonitor/files/alarm_total.sh", "content": "#!/bin/bash\n\n#新增告警日志处理方法: alarm日志id筛选; 替换日志特殊符号\ngauss_alert_Fun(){\n\tsed -i 's/\"/\\\\\"/g' ${trans_file}\n\tsed -i \"2,$ s/^/<br\\/>/g\" ${trans_file}\n\tfile=`head -n 201 ${trans_file}`\n\tif [ ${alarm_dir} == \"alarm\" ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 6, "total_bytes": 12557, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-git
7,844
[ "no_license" ]
[ { "path": "roles/install-git/tasks/main.yaml", "content": "- name: ensure gitlab dir exist\n file:\n path: /data01/gitlab\n state: directory\n\n- name: send gitlab docker-compose file\n template:\n src: docker-compose.yaml.j2\n dest: /data01/gitlab/docker-compose.yaml\n\n- name: stop gitlab do...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 785, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-gpu-containerd
7,844
[ "no_license" ]
[ { "path": "roles/install-gpu-containerd/tasks/main.yml", "content": "- name: create dirs\n file:\n path: \"{{ gpu_containerd_dir }}\"\n state: directory\n\n- name: copy script and package to remote \n copy:\n src: \"{{ item.src }}\"\n dest: \"{{ gpu_containerd_dir }}\"\n with_items:\n - {src...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1426, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-harbor
7,844
[ "no_license" ]
[ { "path": "roles/install-harbor/templates/harbor-createProject-double.sh.j2", "content": "#!/bin/bash\n##harbor 使用API接口写入同步仓库数据\n##脚本执行依赖jq,需要先安装jq\n\nharbor_ip={{ ansible_default_ipv4.address }}\nremote_harbor_ip={{ remote_ip }}\nharbor_user={{ admin_harbor_account }}\nharbor_pass={{ <PASSWORD>harbor_passw...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 6, "total_bytes": 9082, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-k8s-basis-components
7,844
[ "no_license" ]
[ { "path": "roles/install-k8s-basis-components/tasks/main.yaml", "content": "- name: 安装kubeadm kubectl kubelet\n apt:\n name:\n - kubelet\n - kubeadm\n - kubectl\n update_cache: true\n state: present\n- name: 刷新kubeadm\n copy:\n src: /etc/ansible/tools/kubeadm\n dest: \"/usr/b...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1029, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-kafka
7,844
[ "no_license" ]
[ { "path": "roles/install-kafka/templates/docker-compose.yml.j2", "content": "version: '3'\nservices:\n kafka:\n image: '{{ image_repository }}/public/kafka:2.13-2.7.0'\n network_mode: host\n extra_hosts:\n - '{{ hostvars[ansible_ssh_host].host_name }}:{{ ansible_ssh_host }}'\n restart: alw...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 3241, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-kafka-exporter
7,844
[ "no_license" ]
[ { "path": "roles/install-kafka-exporter/templates/docker-compose.yml.j2", "content": "version: '3'\nservices:\n kafka-exporter:\n image: '{{ image_repository }}/public/kafka-exporter:1.3.1'\n network_mode: host\n restart: always\n command:\n - '--kafka.server=localhost:9092'\n ports:\n ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 1282, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-keepalived
7,844
[ "no_license" ]
[ { "path": "roles/install-keepalived/templates/keepalived.conf.j2", "content": "! Configuration File for keepalived\n\nglobal_defs {\n router_id LVS_DEVEL\n}\n\nvrrp_script health_check {\n #判断haproxy进程是否存在,如果haproxy不存在,当前keepalived进程优先级降低\n script \"{{ keepalived_root_dir }}/{{ health_check_local_sc...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 4, "total_bytes": 1894, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-kubernetes-monitor
7,844
[ "no_license" ]
[ { "path": "roles/install-kubernetes-monitor/external/harbor-service.yaml.j2", "content": "---\napiVersion: v1\nkind: Service\nmetadata:\n name: monitor-harbor\n namespace: monitoring\n annotations:\n prometheus.io/node-scrape: \"true\"\n prometheus.io/http-scrape: \"true\"\n prometheus.io/http-p...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 12, "total_bytes": 23112, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-mail-server
7,844
[ "no_license" ]
[ { "path": "roles/install-mail-server/tasks/main.yml", "content": "- name: ensure mailserver dir exist\n file:\n path: /data01/mailserver\n state: directory\n\n- name: check if mailserver exists\n stat:\n path: ' /data01/mailserver/docker-compose.yml'\n register: mailserver_compose_file\n\n- name...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 3, "total_bytes": 1598, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-minio
7,844
[ "no_license" ]
[ { "path": "roles/install-minio/templates/docker-compose.yaml.j2", "content": "version: '3'\nservices:\n minio:\n image: '{{ image_repository }}/public/minio:latest'\n container_name: minio\n environment:\n MINIO_ROOT_USER: \"{{ minio_user }}\"\n MINIO_ROOT_PASSWORD: \"{{ minio_password }...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 1865, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-nginx
7,844
[ "no_license" ]
[ { "path": "roles/install-nginx/templates/conf.d/http/traefik-https.conf.j2", "content": "server {\n listen 443 ssl;\n proxy_connect_timeout 3s;\n ssl_protocols TLSv1.2 TLSv1.3;\n server_name {{ domain_base }};\n ssl_certificate conf.d/sslcrt/cim.crt;\n ssl_certificate_key conf.d/sslcrt/cim...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 9, "total_bytes": 9584, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-node-exporter
7,844
[ "no_license" ]
[ { "path": "roles/install-node-exporter/templates/ntp_check.sh.j2", "content": "#!/bin/bash\n\nntp_prom={{ node_exporter_root_dir }}/logs/ntp_check.prom\n\n###NTP服务进程检查\necho \"# HELP ntp_status 0 is ok\" > ${ntp_prom}\necho \"# TYPE ntp_status gauge\" >> ${ntp_prom}\n# 检查NTP进程\nntp_process_check=$(systemctl...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 2678, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-node-exporter-k8s
7,844
[ "no_license" ]
[ { "path": "roles/install-node-exporter-k8s/tasks/main.yml", "content": "- name: esure node exporter dir exists\n file:\n path: '{{ node_exporter_root_dir }}'\n state: directory\n\n- name: ensure node exporter dir exists\n file:\n path: '{{ node_exporter_root_dir }}/logs'\n state: directory\n\n...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 3, "total_bytes": 3742, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-ntp-client
7,844
[ "no_license" ]
[ { "path": "roles/install-ntp-client/templates/ntp.j2", "content": "# Drop root to id 'ntp:ntp' by default.\nOPTIONS=\"-x -p /var/run/ntpd.pid\"\n# Set to 'yes' to sync hw clock after successful ntpdate\nSYNC_HWCLOCK=yes #make no into yes; BIOS的时间也会跟着修改\n# Additional options for ntpdate\nNTPDATE_OPTIONS=\"\"...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 3, "total_bytes": 2721, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-ravencast-agent
7,844
[ "no_license" ]
[ { "path": "roles/install-ravencast-agent/tasks/main.yml", "content": "- name: copy agent\n copy:\n src: '{{ package_dir }}/ravencast/Agent'\n dest: \"{{ ravencast_agent_dir_path }}\"\n\n- name: change mode for plantu-agent\n shell: chmod +x \"{{ ravencast_agent_dir_path }}/Agent/plantu-agent\"\n\n- ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 772, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-skywalking
7,844
[ "no_license" ]
[ { "path": "roles/install-skywalking/templates/0skywalking-namespace.yaml.j2", "content": "apiVersion: v1\nkind: Namespace\nmetadata:\n name: {{ skywalking_namespace }}\n---\napiVersion: v1\nkind: ServiceAccount\nmetadata:\n name: {{ skywalking_namespace }}-admin\n namespace: {{ skywalking_namespace }}\n-...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 5, "total_bytes": 12994, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-sonarqube
7,844
[ "no_license" ]
[ { "path": "roles/install-sonarqube/tasks/main.yml", "content": "- name: create sonarqube root dir\n file:\n path: '{{ sonar_dir }}'\n state: directory\n\n- name: create sonarqube data dir\n file:\n path: '{{ sonar_dir }}/data'\n state: directory\n mode: '0777'\n\n- name: create sonarqube po...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 1719, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-syslog-client
7,844
[ "no_license" ]
[ { "path": "roles/install-syslog-client/tasks/main.yml", "content": "- name: copy kube-component file\n template:\n src: client.conf.j2\n dest: '/etc/rsyslog.d/client.conf'\n mode: 0755\n\n- name: restart rsyslog\n systemd:\n name: rsyslog\n state: restarted\n daemon_reload: true\n\n# log...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 297, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-syslog-logstash
7,844
[ "no_license" ]
[ { "path": "roles/install-syslog-logstash/templates/rsyslog-logstash.yml.j2", "content": "---\napiVersion: v1\nkind: Namespace\nmetadata:\n name: elk-rsyslog\n---\napiVersion: v1\nkind: ConfigMap\nmetadata:\n name: logstash-config\n namespace: elk-rsyslog\n labels:\n task: logging\n k8s-app: logsta...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 4043, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-velero
7,844
[ "no_license" ]
[ { "path": "roles/install-velero/tasks/main.yml", "content": "- name: ensure directory structure exists\n file:\n path: '{{ velero_root_dir }}'\n state: directory\n\n- name: send velero charts tar.gz to velero_root_dir\n unarchive:\n src: \"{{ velero_package_dir }}/velero-3.1.2.tar.gz\"\n dest:...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 1259, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-zk
7,844
[ "no_license" ]
[ { "path": "roles/install-zk/tasks/main.yml", "content": "- name: modify sysctl\n lineinfile:\n dest: /etc/sysctl.conf\n line: \"{{ item }}\"\n with_items:\n - \"vm.overcommit_memory = 1\"\n\n- name: sysctl enable\n shell: sysctl -p /etc/sysctl.conf\n\n- name: create root dir\n file:\n path: ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 3237, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/install-zk-exporter
7,844
[ "no_license" ]
[ { "path": "roles/install-zk-exporter/templates/docker-compose.yml.j2", "content": "version: '3'\nservices:\n zookeeper-exporter:\n image: '{{ image_repository }}/public/zookeeper-exporter:1.0.2'\n network_mode: host\n restart: always\n command:\n - '-zk-hosts=localhost:2181'\n ports:\n ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 1153, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/k8s-install-elk
7,844
[ "no_license" ]
[ { "path": "roles/k8s-install-elk/templates/logstash/logstash-gaussdb.yml.j2", "content": "apiVersion: v1\nkind: ConfigMap\nmetadata:\n name: logstash-gaussdb-jvm\n namespace: elk\ndata:\n jvm.options: |\n ## JVM configuration\n\n # Xms represents the initial size of total heap space\n # Xmx repr...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 14, "total_bytes": 61785, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/k8s-install-monitor
7,844
[ "no_license" ]
[ { "path": "roles/k8s-install-monitor/00-prometheus-rules-new/prometheus-UAC-rules.yaml", "content": "apiVersion: monitoring.coreos.com/v1\nkind: PrometheusRule\nmetadata:\n labels:\n prometheus: k8s\n role: alert-rules\n name: prometheus-uac-rules\n namespace: monitoring\nspec:\n groups:\n - na...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 34, "total_bytes": 160786, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/k8s-master-init-single
7,844
[ "no_license" ]
[ { "path": "roles/k8s-master-init-single/tasks/main.yml", "content": "- name: 发送kubeadm配置文件\n template:\n src: kubeadm-config.yaml.j2\n dest: \"/root/kubeadm-config.yaml\"\n\n- name: 清除节点原始数据\n shell: \"/usr/bin/kubeadm reset -f --cri-socket unix:///var/run/cri-dockerd.sock\"\n\n- name: kubeadm初始化mas...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 2925, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/k8s-master-join
7,844
[ "no_license" ]
[ { "path": "roles/k8s-master-join/tasks/main.yml", "content": "---\n- name: copy master join\n copy:\n src: /etc/ansible/k8s_join_shell/{{ groups['k8s_master_init'][0] }}/k8s_master_join.sh\n dest: \"~/k8s_master_join.sh\"\n\n- name: master join shell\n shell: /bin/bash ~/k8s_master_join.sh\n\n- name...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 517, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/k8s-master-worker-add
7,844
[ "no_license" ]
[ { "path": "roles/k8s-master-worker-add/tasks/main.yml", "content": "- name: print worker add\n shell: kubeadm token create --print-join-command\n register: k8s_worker_join\n\n- name: show k8s_worker_add\n debug:\n msg: \"{{ k8s_worker_join.stdout }}\"\n\n- name: create k8s_worker_join shell\n shell: ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 431, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/k8s-node-containerd-join
7,844
[ "no_license" ]
[ { "path": "roles/k8s-node-containerd-join/tasks/main.yml", "content": "- name: 节点重置检查\n shell: \"/usr/bin/kubeadm reset -f\"\n register: result\n\n- name: 显示节点检查结果\n debug:\n msg: \"{{ result }}\"\n\n- name: 发送master添加脚本\n copy:\n src: /etc/ansible/k8s_join_shell/{{ groups['k8s_master_init'][0] }}...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1126, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/k8s-node-join
7,844
[ "no_license" ]
[ { "path": "roles/k8s-node-join/tasks/main.yml", "content": "- name: 节点重置检查\n shell: \"/usr/bin/kubeadm reset -f --cri-socket unix:///var/run/cri-dockerd.sock\"\n register: result\n\n- name: 显示节点检查结果\n debug:\n msg: \"{{ result }}\"\n\n- name: 发送master添加脚本\n copy:\n src: /etc/ansible/k8s_join_shell...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1172, "all_permissive": false }
ansible_role
tangjizhou/ansible-scripts
fbdee4788cdaa3f7fbc23df4f2b29485bead1c03
0
roles/rocketmq-nameserver
7,844
[ "no_license" ]
[ { "path": "roles/rocketmq-nameserver/tasks/main.yml", "content": "#- name: create dirs\n# file:\n# path: \"{{ rocketmq_root_dir }}\"\n# state: directory\n\n- name: install unzip\n apt:\n name: unzip\n state: latest\n update_cache: yes\n\n- name: send rocketmq to remote\n unarchive:\n sr...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 2200, "all_permissive": false }
ansible_role
bszeti/ansible-operator-example
3bdc0f4c605aa137eea1e4483f3472e6bf060e2e
2
roles/memcached
7,844
[ "no_license" ]
[ { "path": "roles/memcached/vars/main.yml", "content": "---\n# vars file for Memcached\nvalues:\n replicas: \"{{ replicas | default(default_values.replicas) }}\"\n foo: \"{{ foo | default(default_values.foo) }}\"\n resources: \"{{ default_values.resources | combine(resources | default({}), recursi...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 7, "total_bytes": 7356, "all_permissive": false }
ansible_role
socialviolation/ansible-ubuntu
91c83ca3f25243c512848c53146895783d1c8161
0
roles/apt
7,844
[ "no_license" ]
[ { "path": "roles/apt/tasks/main.yml", "content": "---\n\n- name: Apt install\n become: true\n apt:\n name: \"{{ apt_packages }}\"\n state: present\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
socialviolation/ansible-ubuntu
91c83ca3f25243c512848c53146895783d1c8161
0
roles/docker
7,844
[ "no_license" ]
[ { "path": "roles/docker/tasks/main.yml", "content": "---\n- name: Docker - install apt package dependencies\n become: true\n apt:\n name: \"{{ item }}\"\n state: present\n loop:\n - apt-transport-https\n - ca-certificates\n - curl\n - gnupg-agent\n - software-properties-common\n\n- n...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 2131, "all_permissive": false }
ansible_role
socialviolation/ansible-ubuntu
91c83ca3f25243c512848c53146895783d1c8161
0
roles/flameshot
7,844
[ "no_license" ]
[ { "path": "roles/flameshot/tasks/main.yml", "content": "---\n- name: Gather the apt package facts\n package_facts:\n manager: auto\n no_log: \"true\"\n\n- name: Check whether a package called flameshot is installed\n debug:\n msg: \"{{ ansible_facts.packages['flameshot'] | length }} versions of fla...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 1870, "all_permissive": false }
ansible_role
socialviolation/ansible-ubuntu
91c83ca3f25243c512848c53146895783d1c8161
0
roles/font-settings
7,844
[ "no_license" ]
[ { "path": "roles/font-settings/tasks/configure.yaml", "content": "---\n- name: Configure fonts - Interface Text\n dconf:\n key: \"/org/gnome/desktop/interface/font-name\"\n value: \"'Ubuntu Light 11'\"\n state: present\n\n- name: Configure fonts - Document Text\n dconf:\n key: \"/org/gnome/des...
{ "task_files": 3, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 3, "total_bytes": 1931, "all_permissive": false }
ansible_role
socialviolation/ansible-ubuntu
91c83ca3f25243c512848c53146895783d1c8161
0
roles/yadm
7,844
[ "no_license" ]
[ { "path": "roles/yadm/tasks/main.yml", "content": "---\n- name: Install yadm Deb\n become: \"yes\"\n apt:\n name: \"yadm\"\n\n- name: Check if .config/yadm/repo.git/ exists\n stat:\n path: \"~/.config/yadm/repo.git/\"\n register: stat_result\n\n- name: Clone and bootstrap\n command: yadm clone -b...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 327, "all_permissive": false }
ansible_role
ppetrou/quattor_lab
0d7cadd83779312a8eb933438419b14b2c806401
1
collections/ansible_collections/quattor/aquilon/roles/broker_install
7,844
[ "no_license" ]
[ { "path": "collections/ansible_collections/quattor/aquilon/roles/broker_install/templates/aquilon_sudoer.j2", "content": "{{ t_broker_user}} ALL=(root) NOPASSWD: /usr/sbin/aii-shellfe *\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 68 }, { "path": "collecti...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 5, "total_bytes": 12927, "all_permissive": false }
ansible_role
KaushalRai12/DevOps
34969735c0ec798d58ad94f4760511709e6e3a6f
0
ansible/roles/base
7,844
[ "no_license" ]
[ { "path": "ansible/roles/base/tasks/main.yml", "content": "# Keep Packages up to date\n- name: Update APT package cache\n apt: update_cache=yes cache_valid_time=3600\n\n- name: Upgrade to the latest SAFE packages\n apt: upgrade=safe\n\n# Install security upgrades unattended\n- name: Install unattended-upg...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1882, "all_permissive": false }
ansible_role
KaushalRai12/DevOps
34969735c0ec798d58ad94f4760511709e6e3a6f
0
ansible/roles/security
7,844
[ "no_license" ]
[ { "path": "ansible/roles/security/tasks/main.yml", "content": "---\n- name: Disable UFW\n ufw: state=disabled\n\n- name: Firewall Rule - Allow SSH\n ufw: rule=allow port=22 proto=tcp\n\n- stat: path=/home/{{ ansible_ssh_user }}/.ssh/authorized_keys\n register: authorized_keys_exist\n\n- name: Disallow pa...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1735, "all_permissive": false }
ansible_role
KaushalRai12/DevOps
34969735c0ec798d58ad94f4760511709e6e3a6f
0
ansible/roles/snmp-agent
7,844
[ "no_license" ]
[ { "path": "ansible/roles/snmp-agent/tasks/main.yml", "content": "# Firewall\n- name: Firewall Rule - Allow SNMP on UDP\n ufw: rule=allow port=161 proto=udp\n tags: [snmpd]\n\n# Package\n- name: Install SNMPd\n apt: pkg=snmpd state=latest\n tags: [snmpd]\n\n# Config\n- name: Configure SNMP\n template: s...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 890, "all_permissive": false }
ansible_role
KaushalRai12/DevOps
34969735c0ec798d58ad94f4760511709e6e3a6f
0
vmware-ansible/roles/deploy-speedtest
7,844
[ "no_license" ]
[ { "path": "vmware-ansible/roles/deploy-speedtest/vars/main.yml", "content": "---\npath_to_app: opt/speedtest\ncontainer_region: \"{{ region }}\"", "license_type": "no_license", "detected_licenses": [], "size_bytes": 63 }, { "path": "vmware-ansible/roles/deploy-speedtest/templates/docker-...
{ "task_files": 1, "has_defaults": false, "has_handlers": true, "has_templates": true }
{ "file_count": 4, "total_bytes": 1200, "all_permissive": false }
ansible_role
KaushalRai12/DevOps
34969735c0ec798d58ad94f4760511709e6e3a6f
0
vmware-ansible/roles/rotate-certificate
7,844
[ "no_license" ]
[ { "path": "vmware-ansible/roles/rotate-certificate/tasks/main.yml", "content": "---\n- name: Rotate LetsEncrypt Certificate\n shell: |\n letsencrypt --renew-by-default certonly -n --webroot -w /var/www/letsencrypt -m {{ letsencrypt_email }} --agree-tos -d {{ domain_name }} --preferred-chain \"ISRG Root X...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 252, "all_permissive": false }
ansible_role
KaushalRai12/DevOps
34969735c0ec798d58ad94f4760511709e6e3a6f
0
vmware-ansible/roles/server-init
7,844
[ "no_license" ]
[ { "path": "vmware-ansible/roles/server-init/tasks/main.yml", "content": "---\n- name: Install aptitude\n apt:\n name: aptitude\n state: latest\n update_cache: true\n\n- name: Setup passwordless sudo\n lineinfile:\n path: /etc/sudoers\n state: present\n regexp: '^%sudo'\n line: '%sudo ...
{ "task_files": 1, "has_defaults": false, "has_handlers": true, "has_templates": false }
{ "file_count": 3, "total_bytes": 3263, "all_permissive": false }
ansible_role
2676434/devsecops-oai-demo
c38c3a20c4986e63ed9e2cbaee6804ad9afd91d1
0
bootstrap/roles/01-ocp4-install-operators
7,844
[ "no_license" ]
[ { "path": "bootstrap/roles/01-ocp4-install-operators/tasks/main.yaml", "content": "\n- import_tasks: pre.yaml\n- import_tasks: pipeline.yaml\n- import_tasks: central.yaml\n- import_tasks: sensor.yaml\n#- import_tasks: istio.yaml\n", "license_type": "no_license", "detected_licenses": [], "size_by...
{ "task_files": 4, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 8, "total_bytes": 6016, "all_permissive": false }
ansible_role
2676434/devsecops-oai-demo
c38c3a20c4986e63ed9e2cbaee6804ad9afd91d1
0
bootstrap/roles/02-ocp4-install-pipelines
7,844
[ "no_license" ]
[ { "path": "bootstrap/roles/02-ocp4-install-pipelines/templates/git-repository.yaml.j2", "content": "apiVersion: source.toolkit.fluxcd.io/v1\nkind: GitRepository\nmetadata:\n name: git-repository\n namespace: {{ flux_namespace }}\nspec:\n interval: 5m\n recurseSubmodules: true\n timeout: 60s\n url: htt...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 11, "total_bytes": 11344, "all_permissive": false }
ansible_role
2676434/devsecops-oai-demo
c38c3a20c4986e63ed9e2cbaee6804ad9afd91d1
0
bootstrap/roles/03-ocp4-post-acs
7,844
[ "no_license" ]
[ { "path": "bootstrap/roles/03-ocp4-post-acs/templates/harbor_registry_acs.yml.j2", "content": "{\n \"name\": \"Harbor Registry\",\n \"type\": \"docker\",\n \"clusters\": [],\n \"categories\": [\"REGISTRY\"],\n \"docker\": {\n \"endpoint\": \"harbor-registry.hub-cluster.example.com\",\n ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 2882, "all_permissive": false }
ansible_role
2676434/devsecops-oai-demo
c38c3a20c4986e63ed9e2cbaee6804ad9afd91d1
0
bootstrap/roles/04-ocp4-install-signing
7,844
[ "no_license" ]
[ { "path": "bootstrap/roles/04-ocp4-install-signing/templates/cosign-task.yaml.j2", "content": "apiVersion: tekton.dev/v1\nkind: Task\nmetadata:\n name: cosign-task\n namespace: {{ pipeline_namespace }}\n labels:\n app.kubernetes.io/version: \"0.6\"\n annotations:\n tekton.dev/pipelines.minVersion:...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 6, "total_bytes": 7452, "all_permissive": false }
ansible_role
priver/ansible-playbooks
69fc79e3a1955a4866447f550a26e7b49c2f0b42
3
roles/common
7,844
[ "no_license" ]
[ { "path": "roles/common/templates/resolv.conf.j2", "content": "# {{ ansible_managed }}\n\ndomain {{ ansible_domain }}\nsearch {{ ansible_domain }}.{% for search in common_search_domains %} {{ search }}.{% endfor %}\n\n{% for nameserver in common_nameservers %}\nnameserver {{ nameserver }}\n{% endfor %}\n", ...
{ "task_files": 1, "has_defaults": true, "has_handlers": true, "has_templates": true }
{ "file_count": 10, "total_bytes": 11018, "all_permissive": false }
ansible_role
priver/ansible-playbooks
69fc79e3a1955a4866447f550a26e7b49c2f0b42
3
roles/podman
7,844
[ "no_license" ]
[ { "path": "roles/podman/tasks/main.yaml", "content": "---\n- name: Install podman\n ansible.builtin.apt:\n pkg:\n - podman\n - crun\n state: present\n tags:\n - podman\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 127 } ]
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 127, "all_permissive": false }
ansible_role
priver/ansible-playbooks
69fc79e3a1955a4866447f550a26e7b49c2f0b42
3
roles/xray
7,844
[ "no_license" ]
[ { "path": "roles/xray/tasks/main.yaml", "content": "---\n- name: Create Xray directory\n ansible.builtin.file:\n path: \"{{ xray_path }}\"\n state: directory\n mode: \"0755\"\n tags:\n - xray\n\n- name: Download Xray binaries\n ansible.builtin.unarchive:\n src: https://github.com/XTLS/Xray...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 5, "total_bytes": 4114, "all_permissive": false }
ansible_role
frank-carnovale/ansible-example
43b5f440ea904fcde2c4aaaae5a8d19e6050ae62
0
roles/webserver
7,844
[ "no_license" ]
[ { "path": "roles/webserver/handlers/main.yml", "content": "---\n\n- name: bounce apache\n service: name=apache2 state=restarted\n\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 68 }, { "path": "roles/webserver/vars/main.yml", "content": "---\n\nold_httpd_ru...
{ "task_files": 1, "has_defaults": false, "has_handlers": true, "has_templates": false }
{ "file_count": 3, "total_bytes": 1837, "all_permissive": false }
ansible_role
merkez/DevOps-Learning-Journey
c35d9939fb231a41d04172fe12271a0f71d0d0bd
1
ansible-examples/ansible-roles/roles/webservers
7,845
[ "no_license" ]
[ { "path": "ansible-examples/ansible-roles/roles/webservers/tasks/main.yml", "content": "---\n# tasks file for roles/webservers\n- name: Upload custom index page \n copy: \n src: ../files/index.php\n dest: \"{{ path_to_app }}\"\n mode: 0755 \n\n- name: Create simple info page \n copy:\n dest:...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 661, "all_permissive": false }
ansible_role
OpenStackPSChina/ansible_keystone
d93a2526eb54b74599d00273ea9cc7c84d31a2df
0
roles/keystone
7,845
[ "no_license" ]
[ { "path": "roles/keystone/tasks/roles.yml", "content": "---\n\n- name: Add Keystone roles to defined users in defined tenants\n keystone_user: >\n role=\"{{ item.name }}\"\n user=\"{{ item.user }}\"\n tenant=\"{{ item.tenant }}\"\n endpoint=\"{{ KEYSTONE_PROTOCOL }}://{{ KEYSTONE_SERVER }}:{{ K...
{ "task_files": 8, "has_defaults": false, "has_handlers": true, "has_templates": true }
{ "file_count": 11, "total_bytes": 4558, "all_permissive": false }
ansible_role
redhat-cop/operationalizing-openshift-lab
d00533a9eb425d2e7a5ad5e2f8ca7363506b0ecc
26
roles/discover
7,845
[ "no_license" ]
[ { "path": "roles/discover/defaults/main.yml", "content": "---\n# Custom label used to identify custom machinesets\ncustom_machineset_label: machine.openshift.io/cluster-api-machineset-group\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 130 }, { "path": "roles/d...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": false }
{ "file_count": 3, "total_bytes": 1679, "all_permissive": false }
ansible_role
redhat-cop/operationalizing-openshift-lab
d00533a9eb425d2e7a5ad5e2f8ca7363506b0ecc
26
roles/openshift_machine_api
7,845
[ "no_license" ]
[ { "path": "roles/openshift_machine_api/tasks/scale-up-group.yml", "content": "---\n- name: Scale up machinesets to minimum\n k8s:\n api_version: machine.openshift.io/v1beta1\n kind: MachineSet\n name: \"{{ machineset_name }}\"\n namespace: openshift-machine-api\n merge_type: merge\n defin...
{ "task_files": 2, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 1699, "all_permissive": false }
ansible_role
corsaircodes/gearman-ansible
536bacf8488893041e2e1f1a46e6d6be01de46e8
0
roles/gearman-ansible
7,845
[ "no_license" ]
[ { "path": "roles/gearman-ansible/tasks/configure.yml", "content": "---\n\n- ansible.builtin.git:\n repo: 'https://github.com/vittrupconsulting/gearman-ansible.git'\n dest: \"/etc/.ansible\"\n version: \"{{ gearman.ansible.branch | default('HEAD') }}\"\n\n- ansible.posix.synchronize:\n src: \"/et...
{ "task_files": 2, "has_defaults": true, "has_handlers": true, "has_templates": false }
{ "file_count": 8, "total_bytes": 3285, "all_permissive": false }
ansible_role
corsaircodes/gearman-ansible
536bacf8488893041e2e1f1a46e6d6be01de46e8
0
roles/gearman-common
7,845
[ "no_license" ]
[ { "path": "roles/gearman-common/defaults/main.yml", "content": "---\n# defaults file for gearman-common\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 39 }, { "path": "roles/gearman-common/files/inventory.py", "content": "import sys\nimport gear\nimport json...
{ "task_files": 2, "has_defaults": true, "has_handlers": true, "has_templates": true }
{ "file_count": 10, "total_bytes": 4618, "all_permissive": false }