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 | dbranizor/deploy-apps | db656bc9e338512f34430465a19c644773a202fb | 0 | roles/jenkins | 1,319 | [
"no_license"
] | [
{
"path": "roles/jenkins/tasks/main.yml",
"content": "- name: Download Build Tag \n become: elquico\n delegate_to: localhost\n shell: ~/minio/mc cp local/build-tags/jenkins files/build_tags/jenkins\n- name: Start Jenkins Container\n docker_container:\n name: dsb-jenkins\n image: \"{{jenkins_build_... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 968,
"all_permissive": false
} |
ansible_role | dbranizor/deploy-apps | db656bc9e338512f34430465a19c644773a202fb | 0 | roles/minio | 1,319 | [
"no_license"
] | [
{
"path": "roles/minio/tasks/main.yml",
"content": "- name: Create Minio Data Folder\n become: true\n file:\n path: /minio\n state: directory\n- name: Debgging Minio Keys\n debug:\n msg: \"Minio Sec Keyu: {{MINIO_SECRET_KEY}}\"\n- name: Debgging Minio Keys\n debug:\n msg: \"Minio Access Key:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1184,
"all_permissive": false
} |
ansible_role | dbranizor/deploy-apps | db656bc9e338512f34430465a19c644773a202fb | 0 | roles/mongo | 1,319 | [
"no_license"
] | [
{
"path": "roles/mongo/tasks/main.yml",
"content": "- name: Download Build Tag \n become: elquico\n delegate_to: localhost\n shell: ~/minio/mc cp local/build-tags/mongo files/build_tags/mongo\n- name: Init Mongo Data Directory\n become: true\n file:\n path: ~/mongo\n state: directory\n owner: ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 791,
"all_permissive": false
} |
ansible_role | dbranizor/deploy-apps | db656bc9e338512f34430465a19c644773a202fb | 0 | roles/postgres | 1,319 | [
"no_license"
] | [
{
"path": "roles/postgres/tasks/main.yml",
"content": "- name: Create ansible config directories\n become: true\n file:\n path: /opt/ansible\n state: directory\n mode: 0770\n- name: Synchronize pg_hba.conf\n become: true\n copy:\n dest: /opt/ansible/pg_hba.conf\n src: files/pg_hba.conf... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1077,
"all_permissive": false
} |
ansible_role | dbranizor/deploy-apps | db656bc9e338512f34430465a19c644773a202fb | 0 | roles/todo | 1,319 | [
"no_license"
] | [
{
"path": "roles/todo/tasks/main.yml",
"content": "- name: Create Log Directory\n become: true\n file:\n path: /opt/logs/todo\n state: directory\n recurse: true\n owner: '1001'\n- name: Download Todo Build Tag \n become: elquico\n delegate_to: localhost\n shell: ~/minio/mc cp local/build-ta... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 865,
"all_permissive": false
} |
ansible_role | EMC-Underground/dilerous.powerprotect | 44f2dfd89d049b47c3cb0d9ca834d24804978a9f | 1 | roles/auth | 1,319 | [
"no_license"
] | [
{
"path": "roles/auth/tasks/main.yml",
"content": "---\n- name: Login to PowerProtect\n dilerous.powerprotect.auth:\n server: \"{{ inventory_hostname }}\"\n password: \"{{ <PASSWORD> }}\"\n username: \"{{ username }}\"\n",
"license_type": "no_license",
"detected_licenses": [],
"size_by... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 667,
"all_permissive": false
} |
ansible_role | EMC-Underground/dilerous.powerprotect | 44f2dfd89d049b47c3cb0d9ca834d24804978a9f | 1 | roles/credential | 1,319 | [
"no_license"
] | [
{
"path": "roles/credential/tasks/main.yml",
"content": "---\n- name: Create, Update and Delete Credentials\n dilerous.powerprotect.credential:\n name: \"{{ item.name }}\"\n username: \"{{ item.policy_name | default(item.name) }}\"\n cred_type: \"{{ item.cred_type | default(cred_type) }}\"\n pa... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 776,
"all_permissive": false
} |
ansible_role | EMC-Underground/dilerous.powerprotect | 44f2dfd89d049b47c3cb0d9ca834d24804978a9f | 1 | roles/protection_rule | 1,319 | [
"no_license"
] | [
{
"path": "roles/protection_rule/tasks/main.yml",
"content": "---\n- name: Create, Update and Delete Protection Rules\n dilerous.powerprotect.protection_rule:\n name: \"{{ item.name }}\"\n policy_name: \"{{ item.policy_name | default('') }}\"\n inventory_type: \"{{ item.inventory_type | default(in... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 677,
"all_permissive": false
} |
ansible_role | nikitinya89/otus_hw2_ansible | f3075a2ac37c29fd3f8a865dd3f541a0200849d8 | 0 | ansible/roles/apache-backend | 1,319 | [
"no_license"
] | [
{
"path": "ansible/roles/apache-backend/handlers/main.yml",
"content": "---\n# handlers file for apache-backend\n\n- name: restart_apache\n systemd:\n name: apache2\n state: restarted\n enabled: true\n\n- name: reload_apache\n systemd:\n name: apache2\n state: reloaded\n",
"license_type... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 715,
"all_permissive": false
} |
ansible_role | nikitinya89/otus_hw2_ansible | f3075a2ac37c29fd3f8a865dd3f541a0200849d8 | 0 | ansible/roles/nginx-frontend | 1,319 | [
"no_license"
] | [
{
"path": "ansible/roles/nginx-frontend/tests/test.yml",
"content": "---\n- hosts: localhost\n remote_user: root\n roles:\n - nginx-frontend\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 73
},
{
"path": "ansible/roles/nginx-frontend/vars/main.yml",
"co... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 6,
"total_bytes": 1300,
"all_permissive": false
} |
ansible_role | ludovicalarcon/aza-workstation-setup | e14b506179ff5882a436a16775d85721786332df | 0 | roles/kde | 1,319 | [
"no_license"
] | [
{
"path": "roles/kde/tasks/main.yaml",
"content": "---\n- name: Check existence of Konsole\n ansible.builtin.stat:\n path: \"{{ home }}/.local/share/konsole\"\n register: konsole\n\n- name: Configure Konsole\n when: konsole.stat.exists\n block:\n - name: Copy konsole picture\n ansible.builtin... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1048,
"all_permissive": false
} |
ansible_role | ludovicalarcon/aza-workstation-setup | e14b506179ff5882a436a16775d85721786332df | 0 | roles/nvim | 1,319 | [
"no_license"
] | [
{
"path": "roles/nvim/tasks/main.yaml",
"content": "---\n- name: Create nvim config folder\n ansible.builtin.file:\n path: \"{{ home }}/.config/nvim\"\n state: directory\n owner: \"{{ user }}\"\n group: \"{{ user }}\"\n mode: '0755'\n\n- name: Copy init.lua\n ansible.builtin.copy:\n src:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 4117,
"all_permissive": false
} |
ansible_role | ludovicalarcon/aza-workstation-setup | e14b506179ff5882a436a16775d85721786332df | 0 | roles/oh_my_zsh | 1,319 | [
"no_license"
] | [
{
"path": "roles/oh_my_zsh/tasks/main.yaml",
"content": "---\n- name: Check existence of .oh-my-zsh\n ansible.builtin.stat:\n path: \"{{ home }}/.oh-my-zsh\"\n register: ohmyzsh\n\n- name: Install oh-my-zsh\n ansible.builtin.shell: sh -c \"$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1951,
"all_permissive": false
} |
ansible_role | ludovicalarcon/aza-workstation-setup | e14b506179ff5882a436a16775d85721786332df | 0 | roles/package_manager | 1,319 | [
"no_license"
] | [
{
"path": "roles/package_manager/tasks/zypper.yaml",
"content": "---\n- name: Add Microsoft package\n ansible.builtin.shell: |\n sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc\n echo -e \"[code]\\nname=Visual Studio Code\\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\\n... | {
"task_files": 4,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 2955,
"all_permissive": false
} |
ansible_role | ludovicalarcon/aza-workstation-setup | e14b506179ff5882a436a16775d85721786332df | 0 | roles/tmux | 1,319 | [
"no_license"
] | [
{
"path": "roles/tmux/tasks/main.yaml",
"content": "- name: Copy .tmux.conf file\n ansible.builtin.copy:\n src: \".tmux.conf\"\n dest: \"{{ home }}/.tmux.conf\"\n owner: \"{{ user }}\"\n group: \"{{ user }}\"\n mode: '0644'\n",
"license_type": "no_license",
"detected_licenses": [],
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 558,
"all_permissive": false
} |
ansible_role | ludovicalarcon/aza-workstation-setup | e14b506179ff5882a436a16775d85721786332df | 0 | roles/tools | 1,319 | [
"no_license"
] | [
{
"path": "roles/tools/tasks/suse_tools.yaml",
"content": "- name: Install nerdctl from github release\n block:\n - name: Check if nerdctl cli already present\n ansible.builtin.stat:\n path: \"/usr/nerdctl\"\n register: nerdctl\n\n - name: Get latest version\n when: not nerdctl.... | {
"task_files": 5,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 6,
"total_bytes": 9347,
"all_permissive": false
} |
ansible_role | emedez/schemanizer-ansible-playbook | 15f44ddc24f958140753ffa2e7b6ba698b4a1c0d | 0 | roles/root_tasks | 1,319 | [
"no_license"
] | [
{
"path": "roles/root_tasks/tasks/main.yml",
"content": "---\n- debug: msg=\"distribution=$ansible_distribution, ansible_user_id=$ansible_user_id, ansible_ssh_user=$ansible_ssh_user\"\n\n##############################################################################\n# Bootstrap\n############################... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 9777,
"all_permissive": false
} |
ansible_role | emedez/schemanizer-ansible-playbook | 15f44ddc24f958140753ffa2e7b6ba698b4a1c0d | 0 | roles/user_tasks | 1,319 | [
"no_license"
] | [
{
"path": "roles/user_tasks/tasks/main.yml",
"content": "---\n- shell: mkdir -p ~/.schemanizer-ansible\n ignore_errors: yes\n\n- name: setup virtualenv\n # do a cd first, otherwise we will receive Permission denied errors on current dir when we run commands as other user\n # which don't have access to cu... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 9383,
"all_permissive": false
} |
ansible_role | iaroslavb/setup-local-jupyterlab | e7d674b49f672cfc400fa5c62da88e475bef8373 | 0 | ansible/roles/common | 1,319 | [
"no_license"
] | [
{
"path": "ansible/roles/common/tasks/main.yml",
"content": "---\n- name: install utils\n apt: name={{ item }} state=latest\n with_items:\n - htop\n - atop\n - iotop\n - strace\n - gdb\n\n- name: enable autocomplete in interactive shell\n copy:\n src: bash.bashrc\n dest: /etc/bash.ba... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 286,
"all_permissive": false
} |
ansible_role | pesiinfosys/My-Roboshop-Ansible-Roles | 758fb9f3d9887251782146fa98aa791a442476b4 | 0 | roles/cart | 1,319 | [
"no_license"
] | [
{
"path": "roles/cart/tasks/main.yml",
"content": "- name: Install NodeJS\n ansible.builtin.import_role:\n name: common\n tasks_from: install-nodejs\n\n- name: \"set-up {{component}} application\"\n ansible.builtin.import_role:\n name: common\n tasks_from: app-setup\n \n- name: Installing Dep... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 427,
"all_permissive": false
} |
ansible_role | pesiinfosys/My-Roboshop-Ansible-Roles | 758fb9f3d9887251782146fa98aa791a442476b4 | 0 | roles/common | 1,319 | [
"no_license"
] | [
{
"path": "roles/common/tasks/restarting-service.yml",
"content": "- name: \"Re-starting {{component}} service\"\n ansible.builtin.service:\n name: \"{{component}}\"\n state: restarted",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 117
},
{
"path": "roles/c... | {
"task_files": 10,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 10,
"total_bytes": 3182,
"all_permissive": false
} |
ansible_role | pesiinfosys/My-Roboshop-Ansible-Roles | 758fb9f3d9887251782146fa98aa791a442476b4 | 0 | roles/dispatch | 1,319 | [
"no_license"
] | [
{
"path": "roles/dispatch/tasks/main.yml",
"content": "- name: Install golang\n ansible.builtin.import_role:\n name: common\n tasks_from: install-golang\n\n- name: \"set-up {{component}} application\"\n ansible.builtin.import_role:\n name: common\n tasks_from: app-setup\n\n- name: Installing D... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 464,
"all_permissive": false
} |
ansible_role | pesiinfosys/My-Roboshop-Ansible-Roles | 758fb9f3d9887251782146fa98aa791a442476b4 | 0 | roles/mongodb | 1,319 | [
"no_license"
] | [
{
"path": "roles/mongodb/tasks/main.yml",
"content": "- name: Installing mongodb\n ansible.builtin.import_role:\n name: common\n tasks_from: install-mongodb\n\n- name: Enable Remote Access\n ansible.builtin.replace:\n path: /etc/mongod.conf\n regexp: '127.0.0.1'\n replace: '0.0.0.0'\n\n- na... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 337,
"all_permissive": false
} |
ansible_role | pesiinfosys/My-Roboshop-Ansible-Roles | 758fb9f3d9887251782146fa98aa791a442476b4 | 0 | roles/mysql | 1,319 | [
"no_license"
] | [
{
"path": "roles/mysql/tasks/main.yml",
"content": "- name: Installing MySQL\n ansible.builtin.import_role:\n name: common\n tasks_from: install-mysql\n\n- name: Enabling and Starting mysqld service\n ansible.builtin.service:\n name: mysqld\n state: started\n enabled: yes\n\n- name: change ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 348,
"all_permissive": false
} |
ansible_role | pesiinfosys/My-Roboshop-Ansible-Roles | 758fb9f3d9887251782146fa98aa791a442476b4 | 0 | roles/payment | 1,319 | [
"no_license"
] | [
{
"path": "roles/payment/tasks/main.yml",
"content": "- name: Installing Python3.6\n ansible.builtin.import_role:\n name: common\n tasks_from: install-python\n\n- name: \"set-up {{component}} application\"\n ansible.builtin.import_role:\n name: common\n tasks_from: app-setup\n\n- name: Install... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 573,
"all_permissive": false
} |
ansible_role | pesiinfosys/My-Roboshop-Ansible-Roles | 758fb9f3d9887251782146fa98aa791a442476b4 | 0 | roles/rabbitmq | 1,319 | [
"no_license"
] | [
{
"path": "roles/rabbitmq/tasks/main.yml",
"content": "- name: Install RabbitMQ\n ansible.builtin.import_role:\n name: common\n tasks_from: install-rabbitmq\n\n- name: Enabling And Starting rabbitmq service\n ansible.builtin.service:\n name: rabbitmq-server\n state: started\n enabled: yes\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 470,
"all_permissive": false
} |
ansible_role | pesiinfosys/My-Roboshop-Ansible-Roles | 758fb9f3d9887251782146fa98aa791a442476b4 | 0 | roles/redis | 1,319 | [
"no_license"
] | [
{
"path": "roles/redis/tasks/main.yml",
"content": "- name: Install redis6.2\n ansible.builtin.import_role:\n name: common\n tasks_from: install-redis\n\n- name: Make redis to Remote Connection\n ansible.builtin.replace:\n path: /etc/redis.conf\n regexp: '127.0.0.1'\n replace: '0.0.0.0'\n\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 360,
"all_permissive": false
} |
ansible_role | pesiinfosys/My-Roboshop-Ansible-Roles | 758fb9f3d9887251782146fa98aa791a442476b4 | 0 | roles/shipping | 1,319 | [
"no_license"
] | [
{
"path": "roles/shipping/tasks/main.yml",
"content": "- name: Installing Maven\n ansible.builtin.import_role:\n name: common\n tasks_from: install-maven\n\n- name: \"set-up {{component}} application\"\n ansible.builtin.import_role:\n name: common\n tasks_from: app-setup\n\n- name: Creating Pa... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 874,
"all_permissive": false
} |
ansible_role | pesiinfosys/My-Roboshop-Ansible-Roles | 758fb9f3d9887251782146fa98aa791a442476b4 | 0 | roles/user | 1,319 | [
"no_license"
] | [
{
"path": "roles/user/tasks/main.yml",
"content": "- name: Install NodeJS\n ansible.builtin.import_role:\n name: common\n tasks_from: install-nodejs\n\n- name: \"set-up {{component}} application\"\n ansible.builtin.import_role:\n name: common\n tasks_from: app-setup\n \n- name: Installing Dep... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 658,
"all_permissive": false
} |
ansible_role | pesiinfosys/My-Roboshop-Ansible-Roles | 758fb9f3d9887251782146fa98aa791a442476b4 | 0 | roles/web | 1,319 | [
"no_license"
] | [
{
"path": "roles/web/tasks/main.yml",
"content": "- name: Install Nginx\n ansible.builtin.import_role:\n name: common\n tasks_from: install-nginx\n\n- name: Enable and Starting nginx service\n ansible.builtin.service:\n name: nginx\n state: started\n enabled: yes\n\n- name: Removing html d... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1093,
"all_permissive": false
} |
ansible_role | Oke2022/realtimechatapp | 49e372657c212dac8b13c35a821aca80ab5b73db | 0 | ansible/roles/chatapp | 1,319 | [
"no_license"
] | [
{
"path": "ansible/roles/chatapp/tasks/main.yml",
"content": "---\n- name: Remove conflicting Docker packages\n apt:\n name:\n - docker.io\n - docker-doc\n - docker-compose\n - docker-compose-v2\n - podman-docker\n - containerd\n - runc\n state: absent\n purge: y... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2443,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/app | 1,319 | [
"no_license"
] | [
{
"path": "roles/app/tasks/main.yml",
"content": "---\n- name: add pacman config\n become: true\n blockinfile:\n dest: /etc/pacman.conf\n block: |\n [archlinuxcn]\n SigLevel = Optional TrustAll\n Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch\n register: pacmanConf\n when: a... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1362,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/bin | 1,319 | [
"no_license"
] | [
{
"path": "roles/bin/tasks/main.yml",
"content": "---\n- name: create folder ~/.local/bin\n file:\n name: '{{ item }}'\n state: directory\n with_items:\n - ~/.local/bin\n\n- name: copy shell scripts\n copy:\n src: '{{ item }}'\n dest: '~/.local/bin/{{ item }}'\n mode: 0755\n with_items... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 300,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/clash | 1,319 | [
"no_license"
] | [
{
"path": "roles/clash/tasks/main.yml",
"content": "---\n# arch\n- name: install clash\n become: true\n pacman:\n name: clash-meta\n when:\n - offline is not defined\n - ansible_distribution == 'Archlinux'\n\n- name: create config folder\n become: true\n file:\n path: /etc/clash\n state:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1599,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/debug | 1,319 | [
"no_license"
] | [
{
"path": "roles/debug/tasks/main.yml",
"content": "---\n# - name: show facts available on the system\n# debug:\n# var: ansible_facts\n\n- name: show ansible_distribution\n debug:\n msg: '{{ ansible_distribution }}'\n\n- name: show major version\n debug:\n msg: '{{ ansible_distribution_major_v... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 465,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/display | 1,319 | [
"no_license"
] | [
{
"path": "roles/display/tasks/main.yml",
"content": "---\n- name: set brightness\n become: true\n copy:\n content: '10'\n dest: /sys/class/backlight/acpi_video0/brightness\n when: ansible_distribution == 'Archlinux'\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 166,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/docker | 1,319 | [
"no_license"
] | [
{
"path": "roles/docker/tasks/main.yml",
"content": "---\n- name: install packages\n become: true\n pacman:\n name: [docker, docker-machine]\n when:\n - offline is not defined\n - ansible_distribution == 'Archlinux'\n\n- name: install cask packages\n homebrew_cask:\n name: [docker]\n when:\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 703,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/firewall | 1,319 | [
"no_license"
] | [
{
"path": "roles/firewall/tasks/main.yml",
"content": "---\n- name: copy firewall pac\n become: true\n copy:\n src: '{{ item.src }}'\n dest: '{{ item.dest }}'\n with_items:\n - { src: public.xml, dest: '/etc/firewalld/zones/public.xml' }\n register: firewall_conf\n when: ansible_distribution =... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 472,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/git | 1,319 | [
"no_license"
] | [
{
"path": "roles/git/tasks/main.yml",
"content": "---\n- name: install packages\n become: true\n pacman:\n name:\n - git\n - diff-so-fancy\n - lazygit\n - tig\n - meld\n when:\n - offline is not defined\n - ansible_distribution == 'Archlinux'\n\n- name: install packages\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 4251,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/grub | 1,319 | [
"no_license"
] | [
{
"path": "roles/grub/tasks/main.yml",
"content": "---\n- name: install grub packages\n become: true\n pacman:\n name: [grub, efibootmgr, intel-ucode]\n when:\n - offline is not defined\n - ansible_distribution == 'Archlinux'\n\n- name: update grub conf\n become: true\n lineinfile:\n dest: ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 739,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/hostname | 1,319 | [
"no_license"
] | [
{
"path": "roles/hostname/tasks/main.yml",
"content": "---\n- name: set hostname\n become: true\n copy:\n content: 'Necromancer'\n dest: /etc/hostname\n when: ansible_distribution == 'Archlinux'\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 143
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 143,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/i3 | 1,319 | [
"no_license"
] | [
{
"path": "roles/i3/files/.yabairc",
"content": "#!/usr/bin/env sh\n\nsudo yabai --load-sa\nyabai -m signal --add event=dock_did_restart action=\"sudo yabai --load-sa\"\n\nyabai -m config layout bsp\nyabai -m config auto_balance on\n\nyabai -m config window_opacity on\nyabai -m config active_window_op... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2526,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/keyboard | 1,319 | [
"no_license"
] | [
{
"path": "roles/keyboard/files/kbdlight",
"content": "#!/bin/bash\n\npath=\"/sys/class/leds/asus::kbd_backlight\"\n\n# max should be 3\nmax=$(cat ${path}/max_brightness)\nprevious=$(cat ${path}/brightness)\nstep=1\n\nfunction commit {\n if [[ $1 = [0-9]* ]]\n then\n if [[ $1 -gt $max ]]\n then\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2740,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/locale | 1,319 | [
"no_license"
] | [
{
"path": "roles/locale/tasks/main.yml",
"content": "---\n- name: edit locale.gen\n become: true\n lineinfile:\n dest: /etc/locale.gen\n regexp: '^#?en_US.UTF-8 UTF-8'\n line: 'en_US.UTF-8 UTF-8'\n when: ansible_distribution == 'Archlinux'\n\n- name: get LANG\n command: /bin/bash -l -c \"echo $... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 651,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/mail | 1,319 | [
"no_license"
] | [
{
"path": "roles/mail/tasks/main.yml",
"content": "---\n- name: install packages\n homebrew:\n name:\n - mutt\n - msmtp\n when:\n - offline is not defined\n - ansible_distribution == 'MacOSX'\n - ansible_distribution_major_version | int > 11\n\n- name: install packages\n macports:\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 759,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/mirrorlist | 1,319 | [
"no_license"
] | [
{
"path": "roles/mirrorlist/tasks/main.yml",
"content": "---\n- name: install packages\n become: true\n pacman:\n name: pacman-contrib\n when:\n - offline is not defined\n - ansible_distribution == 'Archlinux'\n tags:\n - rankmirrors\n\n- name: set no_rankmirrors\n debug:\n msg: 'set no_... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1128,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/nginx | 1,319 | [
"no_license"
] | [
{
"path": "roles/nginx/tasks/main.yml",
"content": "- name: install nginx\n become: true\n pacman:\n name: nginx\n when:\n - offline is not defined\n - ansible_distribution == 'Archlinux'\n\n- name: install nginx\n homebrew:\n name: nginx\n when:\n - offline is not defined\n - ansible... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 994,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/node | 1,319 | [
"no_license"
] | [
{
"path": "roles/node/tasks/main.yml",
"content": "---\n- name: clone nvm repo\n git:\n repo: '{{ item.repo }}'\n dest: '{{ item.dest }}'\n depth: 1\n update: no\n with_items:\n - { repo: 'https://github.com/creationix/nvm.git', dest: ~/.nvm }\n when:\n - offline is not defined\n\n- nam... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 767,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/privoxy | 1,319 | [
"no_license"
] | [
{
"path": "roles/privoxy/tasks/main.yml",
"content": "---\n- name: install privoxy\n become: true\n pacman:\n name: privoxy\n when:\n - offline is not defined\n - ansible_distribution == 'Archlinux'\n\n- name: install packages\n homebrew:\n name: privoxy\n when:\n - offline is not define... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2004,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/proxychains | 1,319 | [
"no_license"
] | [
{
"path": "roles/proxychains/tasks/main.yml",
"content": "---\n- name: install proxychains-ng\n become: true\n pacman:\n name: proxychains-ng\n when:\n - offline is not defined\n - ansible_distribution == 'Archlinux'\n\n- name: install packages\n homebrew:\n name: proxychains-ng\n when:\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 908,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/python | 1,319 | [
"no_license"
] | [
{
"path": "roles/python/tasks/main.yml",
"content": "---\n- name: install packages\n become: true\n pacman:\n name: python-pip\n when:\n - offline is not defined\n - ansible_distribution == 'Archlinux'\n\n- name: install packages\n homebrew:\n name: python\n when:\n - offline is not defi... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 761,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/ranger | 1,319 | [
"no_license"
] | [
{
"path": "roles/ranger/tasks/main.yml",
"content": "---\n- name: install packages\n become: true\n pacman:\n name: ranger\n when:\n - offline is not defined\n - ansible_distribution == 'Archlinux'\n\n- name: install packages\n homebrew:\n name: ranger\n when:\n - offline is not defined\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1088,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/rime | 1,319 | [
"no_license"
] | [
{
"path": "roles/rime/files/default.custom.yaml",
"content": "patch:\n ascii_composer/switch_key:\n Shift_L: noop\n Shift_R: noop\n key_binder/bindings:\n - {accept: comma, send: Page_Up, when: paging}\n - {accept: period, send: Page_Down, when: has_menu}\n - {accept: \"Control+space\", tog... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1874,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/rust | 1,319 | [
"no_license"
] | [
{
"path": "roles/rust/tasks/main.yml",
"content": "---\n- name: install packages\n become: true\n apt:\n name:\n - cargo\n - rustc\n when:\n - no_sudo is not defined\n - offline is not defined\n - ansible_distribution == 'Ubuntu'\n\n- name: create cargo conf folder\n file:\n pat... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 455,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/shadowsocks | 1,319 | [
"no_license"
] | [
{
"path": "roles/shadowsocks/tasks/main.yml",
"content": "---\n- name: install shadowsocks\n become: true\n pacman:\n name: shadowsocks\n when:\n - offline is not defined\n - ansible_distribution == 'Archlinux'\n\n- name: install packages\n homebrew:\n name: shadowsocks-libev\n when:\n -... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1402,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/shadowsocks-server | 1,319 | [
"no_license"
] | [
{
"path": "roles/shadowsocks-server/tasks/main.yml",
"content": "---\n- name: install shadowsocks-libev\n become: true\n apt:\n name: shadowsocks-libev\n update_cache: yes\n when:\n - offline is not defined\n - ansible_distribution == 'Debian'\n\n- name: copy shadowsocks conf\n become: true\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 776,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/ssh | 1,319 | [
"no_license"
] | [
{
"path": "roles/ssh/files/ssh-config",
"content": "Host github.com\n Hostname ssh.github.com\n IdentityFile ~/.ssh/id_rsa\n Port 443\n\nHost github.com-zenvy\n Hostname ssh.github.com\n IdentityFile ~/.ssh/zenvy-ghost\n Port 443\n",
"license_type": "no_license",
"detected_licenses": [],
"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1785,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/sshd | 1,319 | [
"no_license"
] | [
{
"path": "roles/sshd/tasks/main.yml",
"content": "---\n- name: create ssh folder\n file:\n path: ~/.ssh\n state: directory\n mode: 0700\n\n- name: copy authorized_keys\n copy:\n src: '{{ item.src }}'\n dest: '{{ item.dest }}'\n mode: 0400\n with_items:\n - { src: id_rsa.pub, dest: ~... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 804,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/system | 1,319 | [
"no_license"
] | [
{
"path": "roles/system/tasks/main.yml",
"content": "---\n- name: copy conf\n become: true\n copy:\n src: '{{ item.src }}'\n dest: '{{ item.dest }}'\n with_items:\n - { src: 40-max-user-watches.conf, dest: /etc/sysctl.d/40-max-user-watches.conf }\n when: ansible_distribution == 'Archlinux'\n",
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 243,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/terminal | 1,319 | [
"no_license"
] | [
{
"path": "roles/terminal/templates/.alacritty.toml",
"content": "[colors.normal]\nblack = \"#1d1f21\"\nblue = \"#81a2be\"\ncyan = \"#8abeb7\"\ngreen = \"#b5bd68\"\nmagenta = \"#b294bb\"\nred = \"#cc6666\"\nwhite = \"#c5c8c6\"\nyellow = \"#de935f\"\n\n[colors.primary]\nbackground = \"#1c1c1c\"\nforeground =... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 2227,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/timedate | 1,319 | [
"no_license"
] | [
{
"path": "roles/timedate/tasks/main.yml",
"content": "---\n- name: get timedatectl status\n command: timedatectl status\n changed_when: False\n register: timedatectl_result\n when: ansible_distribution == 'Archlinux'\n\n- name: enable ntp\n become: yes\n command: timedatectl set-ntp true\n when:\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 536,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/tmux | 1,319 | [
"no_license"
] | [
{
"path": "roles/tmux/files/.tmux.conf",
"content": "run-shell 'tmux setenv -g TMUX_VERSION $(tmux -V | sed -En \"s/^tmux[^0-9]*([.0-9]+).*/\\1/p\")'\n\nset -g prefix '\\'\nbind '\\' send-prefix\nbind r source-file ~/.tmux.conf \\; display 'Config reloaded...'\n\n# bind kill\nbind x kill-pane\nbind & kill-w... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 3622,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/trojan | 1,319 | [
"no_license"
] | [
{
"path": "roles/trojan/tasks/main.yml",
"content": "---\n- name: install trojan\n become: true\n pacman:\n name: trojan\n when:\n - offline is not defined\n - ansible_distribution == 'Archlinux'\n\n- name: homebrew tap\n homebrew_tap:\n name: trojan-gfw/trojan\n when: ansible_distribution ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1191,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/user | 1,319 | [
"no_license"
] | [
{
"path": "roles/user/tasks/main.yml",
"content": "---\n- name: Allow 'wheel' group to have passwordless sudo\n become: true\n lineinfile:\n dest: /etc/sudoers\n line: '%wheel ALL=(ALL) ALL'\n regexp: '^%wheel'\n when: ansible_distribution == 'Archlinux'\n\n- name: add groups\n become: true\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 604,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/v2ray | 1,319 | [
"no_license"
] | [
{
"path": "roles/v2ray/tasks/main.yml",
"content": "---\n- name: install v2ray\n become: true\n pacman:\n name: v2ray\n when:\n - offline is not defined\n - ansible_distribution == 'Archlinux'\n\n- name: homebrew tap\n homebrew_tap:\n name: v2ray/v2ray\n when: ansible_distribution == 'MacOS... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1178,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/v2ray-server | 1,319 | [
"no_license"
] | [
{
"path": "roles/v2ray-server/tasks/main.yml",
"content": "---\n- name: copy v2ray conf\n become: true\n copy:\n src: config.json\n dest: /etc/v2ray/config.json\n register: v2ray_conf\n when: ansible_distribution == 'Debian'\n\n- name: enable v2ray\n become: true\n systemd:\n name: v2ray\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 440,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/vim | 1,319 | [
"no_license"
] | [
{
"path": "roles/vim/files/lua/plugins/far.lua",
"content": "return {\n 'MagicDuck/grug-far.nvim',\n keys = {\n {\n '<leader>/',\n function() require('grug-far').toggle_instance { instanceName = 'far' } end,\n mode = { 'n', 'x' },\n },\n },\n config = function()\n require('grug-f... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 50,
"total_bytes": 67616,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/xinit | 1,319 | [
"no_license"
] | [
{
"path": "roles/xinit/files/.xprofile",
"content": "#!/bin/sh\n\nibus-daemon -d -x\nxset r rate 200 39\n# feh --bg-fill /usr/share/pixmaps/wallpaper.jpg\n# sh ~/.screenlayout/default.sh\n# xbacklight -set 20\nbattery &\nparcellite &\nudiskie -t &\n\nsynclient TapButton1=1\nsynclient TapButton2=3\nsynclient... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 3565,
"all_permissive": false
} |
ansible_role | diartyz/ansible-playbooks | 42970b02be26a50670c022eefe9457400c586247 | 3 | roles/zsh | 1,319 | [
"no_license"
] | [
{
"path": "roles/zsh/files/.zshrc",
"content": "ZSH_THEME=\"dstufft\"\n\nexport EDITOR=vim\nexport GO111MODULE=on\nif type go >/dev/null; then\n\texport GOPATH=$(go env GOPATH)\nelse\n\texport GOPATH=\"\"\nfi\nexport GOPROXY=https://goproxy.io\nexport HOMEBREW_API_DOMAIN=\"https://mirrors.ustc.edu.cn/homebr... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 5597,
"all_permissive": false
} |
ansible_role | ssc-public/Web-Workshop | 947a7045858b6b4b4665932fd29eedafd491aa49 | 100 | Ansible/cassandra/roles/cassandra_exporter | 1,339 | [
"no_license"
] | [
{
"path": "Ansible/cassandra/roles/cassandra_exporter/tasks/firewall.yml",
"content": "---\n# tasks file for firewall\n- name: firewall configuration for RHEL-based systems\n import_tasks: firewall-rhel.yml\n when: ansible_facts['os_family']|lower == 'redhat'\n\n- name: firewall configuration for Debian-b... | {
"task_files": 7,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 7,
"total_bytes": 2291,
"all_permissive": false
} |
ansible_role | ssc-public/Web-Workshop | 947a7045858b6b4b4665932fd29eedafd491aa49 | 100 | Ansible/cassandra/roles/clean_up | 1,339 | [
"no_license"
] | [
{
"path": "Ansible/cassandra/roles/clean_up/tasks/debian.yml",
"content": "---\n- name: .:(Debian):. unistalling the cassandra\n apt:\n name: datastax-ddc\n state: absent\n ignore_errors: yes\n ",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 124
},
{
"p... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 1278,
"all_permissive": false
} |
ansible_role | ssc-public/Web-Workshop | 947a7045858b6b4b4665932fd29eedafd491aa49 | 100 | Ansible/cassandra/roles/config | 1,339 | [
"no_license"
] | [
{
"path": "Ansible/cassandra/roles/config/tasks/main.yml",
"content": "---\n# tasks file for config\n- name: making sure the log directory exist and is owned by cassandra\n file:\n path: /var/log/cassandra\n owner: cassandra\n group: cassandra\n recurse: yes\n state: directory\n mode: '07... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1593,
"all_permissive": false
} |
ansible_role | ssc-public/Web-Workshop | 947a7045858b6b4b4665932fd29eedafd491aa49 | 100 | Ansible/cassandra/roles/firewall | 1,339 | [
"no_license"
] | [
{
"path": "Ansible/cassandra/roles/firewall/README.md",
"content": "firewall\n=========\n\nthis role sets up the firewall for each node\n\nRequirements\n------------\n\nnote that if 'allow_firewall_config' is set to true this role will set up a firewall so that only the cluster nodes can see each other and ... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 2705,
"all_permissive": false
} |
ansible_role | ssc-public/Web-Workshop | 947a7045858b6b4b4665932fd29eedafd491aa49 | 100 | Ansible/cassandra/roles/install | 1,339 | [
"no_license"
] | [
{
"path": "Ansible/cassandra/roles/install/tasks/main.yml",
"content": "---\n# tasks file for install\n- name: cassandra installation playbook for RHEL-based systems\n import_tasks: rhel.yml\n when: ansible_facts['os_family']|lower == 'redhat'\n vars:\n allow_systemd_downgrade: allow_systemd_downgrade... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 2141,
"all_permissive": false
} |
ansible_role | ssc-public/Web-Workshop | 947a7045858b6b4b4665932fd29eedafd491aa49 | 100 | Ansible/cassandra/roles/node_exporter | 1,339 | [
"no_license"
] | [
{
"path": "Ansible/cassandra/roles/node_exporter/tasks/config.yml",
"content": "---\n\n- name: Node exporter template\n template:\n src: templates/node_exporter.service\n dest: /etc/systemd/system/node_exporter.service\n owner: root\n group: root\n mode: 0644\n\n",
"license_type": "no_li... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 1036,
"all_permissive": false
} |
ansible_role | ssc-public/Web-Workshop | 947a7045858b6b4b4665932fd29eedafd491aa49 | 100 | Ansible/cassandra/roles/prerequisites | 1,339 | [
"no_license"
] | [
{
"path": "Ansible/cassandra/roles/prerequisites/vars/main.yml",
"content": "---\n# vars file for config\n\n# prerequisites options \nallow_disk_mount: true\nallow_firewall_config: false\nallow_proxy_config: true\nallow_clean_up: false\nallow_node_exporter_install: true\nallow_cassandra_exporter_install: fa... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 6,
"total_bytes": 2737,
"all_permissive": false
} |
ansible_role | ssc-public/Web-Workshop | 947a7045858b6b4b4665932fd29eedafd491aa49 | 100 | Ansible/cassandra/roles/run | 1,339 | [
"no_license"
] | [
{
"path": "Ansible/cassandra/roles/run/README.md",
"content": "run\n=========\n\nthis roles starts the cluster by runnig each node\n\nAuthor Information\n------------------\n\ne-mail: <EMAIL>\n\ngithub: ArshiAAkhavan\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 144
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 385,
"all_permissive": false
} |
ansible_role | ssc-public/Web-Workshop | 947a7045858b6b4b4665932fd29eedafd491aa49 | 100 | Ansible/mongo/roles/config | 1,339 | [
"no_license"
] | [
{
"path": "Ansible/mongo/roles/config/tasks/mongo_config.yml",
"content": "---\n\n- name: mongod.conf template\n template:\n src: templates/mongod_conf.j2\n dest: /etc/mongod.conf\n force: yes\n group: mongod\n owner: mongod\n\n- name: enabling mongodb\n systemd:\n name: mongod\n enab... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 1381,
"all_permissive": false
} |
ansible_role | ssc-public/Web-Workshop | 947a7045858b6b4b4665932fd29eedafd491aa49 | 100 | Ansible/mongo/roles/firewall | 1,339 | [
"no_license"
] | [
{
"path": "Ansible/mongo/roles/firewall/tasks/debian.yml",
"content": "---\n- name: .:(Debian):. installing the firewall\n apt:\n name: ufw\n update_cache: yes\n\n- name: .:(Debian):. ensuring the ssh connection is up\n ufw:\n rule: allow\n port: item\n proto: tcp\n with_items:\n - ansibl... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1107,
"all_permissive": false
} |
ansible_role | ssc-public/Web-Workshop | 947a7045858b6b4b4665932fd29eedafd491aa49 | 100 | Ansible/mongo/roles/install | 1,339 | [
"no_license"
] | [
{
"path": "Ansible/mongo/roles/install/tasks/main.yml",
"content": "---\n# tasks file for install\n- name: mongodb installation playbook for RHEL-based systems\n import_tasks: rhel.yml\n when: ansible_facts['os_family']|lower == 'redhat'\n\n- name: monogdb installation playbook for Debian-based systems\n ... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1657,
"all_permissive": false
} |
ansible_role | ssc-public/Web-Workshop | 947a7045858b6b4b4665932fd29eedafd491aa49 | 100 | Ansible/mongo/roles/node_exporter | 1,339 | [
"no_license"
] | [
{
"path": "Ansible/mongo/roles/node_exporter/tasks/install.yml",
"content": "---\n\n- name: Create a directory if it does not exist\n file:\n path: /opt/node_exporter/\n state: directory\n owner: root\n group: root\n mode: u+rtwX,g+rwX,o=rX\n\n- name: Unarchive the node exporter file\n unar... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 312,
"all_permissive": false
} |
ansible_role | ssc-public/Web-Workshop | 947a7045858b6b4b4665932fd29eedafd491aa49 | 100 | Ansible/mongo/roles/prerequisites | 1,339 | [
"no_license"
] | [
{
"path": "Ansible/mongo/roles/prerequisites/vars/main.yml",
"content": "---\n# vars file for config\n\n# prerequisites options \nallow_disk_mount: true\nallow_firewall_config: false\nallow_proxy_config: true\nallow_node_exporter_install: true\n\n# swap\ndisable_swap: true\n\n# disk management\ndisk: /dev/s... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 7,
"total_bytes": 2931,
"all_permissive": false
} |
ansible_role | pdostal/server-motd | b2b4a4e92c00020cc56fc85aafc21db4854c414d | 0 | roles/http | 1,339 | [
"no_license"
] | [
{
"path": "roles/http/templates/00_localhost.nginx",
"content": "server {\n listen 80;\n listen [::]:80;\n server_name 127.0.0.1 localhost {{ ansible_all_ipv4_addresses|join(\" \") }} [{{ ansible_all_ipv6_addresses|join(\"] [\") }}] {{ ansible_hostname }} {{ ansible_hostname }}.pdostal.cz;\n\n root /var... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 1661,
"all_permissive": false
} |
ansible_role | pdostal/server-motd | b2b4a4e92c00020cc56fc85aafc21db4854c414d | 0 | roles/system | 1,339 | [
"no_license"
] | [
{
"path": "roles/system/tasks/main.yml",
"content": "- name: Paste banner\n template: src=banner dest=/etc/banner\n- name: Paste motd\n template: src=motd dest=/etc/motd\n\n- name: Do not update motd\n when: ansible_distribution == 'FreeBSD'\n lineinfile: dest=/etc/rc.conf regexp=^update_motd= line=upda... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 750,
"all_permissive": false
} |
ansible_role | fullstackpython/book-and-video-code-examples | 3283912950f9b4876e901e0a054b666a5ae6d59e | 45 | intro-ansible/04-running-playbooks/roles/common | 1,339 | [
"no_license"
] | [
{
"path": "intro-ansible/04-running-playbooks/roles/common/tasks/new_user.yml",
"content": "###\n# establishes non-root user with sudo privileges\n##\n- name: Run equivalent of \"apt-get update\"\n apt:\n update_cache: yes\n\n- name: create a non-root group\n group:\n name: \"deployers\"\n state:... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 603,
"all_permissive": false
} |
ansible_role | fullstackpython/book-and-video-code-examples | 3283912950f9b4876e901e0a054b666a5ae6d59e | 45 | intro-ansible/05-storing-securing-data/roles/common | 1,339 | [
"no_license"
] | [
{
"path": "intro-ansible/05-storing-securing-data/roles/common/tasks/ping.yml",
"content": "# entry point for common playbook\n- name: ping remote server\n ping:\n\n\n\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 72
},
{
"path": "intro-ansible/05-storing-secu... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 852,
"all_permissive": false
} |
ansible_role | fullstackpython/book-and-video-code-examples | 3283912950f9b4876e901e0a054b666a5ae6d59e | 45 | intro-ansible/06-configuring-servers/roles/database | 1,339 | [
"no_license"
] | [
{
"path": "intro-ansible/06-configuring-servers/roles/database/tasks/postgresql.yml",
"content": "# install and configure PostgreSQL database\n- name: ensure postgresql database packages are installed\n apt: name={{ item }}\n with_items:\n - postgresql\n - libpq-dev\n - python3-psycopg2\n - po... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 613,
"all_permissive": false
} |
ansible_role | fullstackpython/book-and-video-code-examples | 3283912950f9b4876e901e0a054b666a5ae6d59e | 45 | intro-ansible/06-configuring-servers/roles/webserver | 1,339 | [
"no_license"
] | [
{
"path": "intro-ansible/06-configuring-servers/roles/webserver/templates/nginx_conf.j2",
"content": "server {\n listen 80;\n}\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 24
},
{
"path": "intro-ansible/06-configuring-servers/roles/webserver/tasks/nginx.yml",... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 389,
"all_permissive": false
} |
ansible_role | fullstackpython/book-and-video-code-examples | 3283912950f9b4876e901e0a054b666a5ae6d59e | 45 | intro-ansible/07-web-app-deploys/roles/common | 1,339 | [
"no_license"
] | [
{
"path": "intro-ansible/07-web-app-deploys/roles/common/tasks/main.yml",
"content": "# handles server protection and configuration regardless of server type\n- include: security.yml\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 96
},
{
"path": "intro-ansible/0... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 459,
"all_permissive": false
} |
ansible_role | fullstackpython/book-and-video-code-examples | 3283912950f9b4876e901e0a054b666a5ae6d59e | 45 | intro-ansible/07-web-app-deploys/roles/database | 1,339 | [
"no_license"
] | [
{
"path": "intro-ansible/07-web-app-deploys/roles/database/tasks/security.yml",
"content": "# install security configuration\n- name: enable PostgreSQL access\n ufw: rule=allow port=5432\n become: yes\n\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 109
},
{
"... | {
"task_files": 4,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 2088,
"all_permissive": false
} |
ansible_role | fullstackpython/book-and-video-code-examples | 3283912950f9b4876e901e0a054b666a5ae6d59e | 45 | intro-ansible/07-web-app-deploys/roles/webserver | 1,339 | [
"no_license"
] | [
{
"path": "intro-ansible/07-web-app-deploys/roles/webserver/templates/supervisor_app.conf.j2",
"content": "[program:{{ app_name }}]\ncommand={{ venv_dir }}/bin/gunicorn app:app\ndirectory={{ app_dir }}\nuser={{ deploy_user }}\nautostart=true\nautorestart=true\nredirect_stderr=true\n",
"license_type": "n... | {
"task_files": 6,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 8,
"total_bytes": 6162,
"all_permissive": false
} |
ansible_role | gurumaia/dockertests_dockerfile_ansible | 9b409bb523475817b6f1d3f27e6b3db696979d9d | 0 | ansible/roles/nginx | 1,339 | [
"no_license"
] | [
{
"path": "ansible/roles/nginx/tasks/main.yml",
"content": "- name: Enable epel repo\n yum_repository:\n name: epel\n description: EPEL YUM repo\n baseurl: https://download.fedoraproject.org/pub/epel/$releasever/$basearch/\n\n- name: Install packages\n yum:\n name: \"{{ item }}\"\n state: p... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 362,
"all_permissive": false
} |
ansible_role | mnorell/linux_config | 0a9bd78f627cfecbe228a683aad8b8ae379fc3f5 | 0 | roles/custom-keyboard-layout | 1,339 | [
"no_license"
] | [
{
"path": "roles/custom-keyboard-layout/tasks/main.yaml",
"content": "- name: Create config directory if it does not exist\n ansible.builtin.file:\n path: \"~/.config/xkb/symbols/\"\n state: directory\n mode: '0755'\n\n- name: Add custom keyboard layouts\n # become: true\n ansible.builtin.copy:\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 359,
"all_permissive": false
} |
ansible_role | mnorell/linux_config | 0a9bd78f627cfecbe228a683aad8b8ae379fc3f5 | 0 | roles/desktop-environment | 1,339 | [
"no_license"
] | [
{
"path": "roles/desktop-environment/files/waybar/scripts/toggle_cpugovernor.sh",
"content": "#!/bin/bash\n\ncurrent_governor=$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor)\n\ncase \"$current_governor\" in\nperformance)\n sudo /usr/bin/cpupower frequency-set -g powersave\n ;;\npowersave)\n ... | {
"task_files": 6,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 13,
"total_bytes": 14753,
"all_permissive": false
} |
ansible_role | mnorell/linux_config | 0a9bd78f627cfecbe228a683aad8b8ae379fc3f5 | 0 | roles/dev-tools | 1,339 | [
"no_license"
] | [
{
"path": "roles/dev-tools/tasks/main.yaml",
"content": "- name: Add VScode repository\n become: true\n ansible.builtin.yum_repository:\n name: vscode\n description: Visual Studio Code\n baseurl: https://packages.microsoft.com/yumrepos/vscode\n gpgkey: https://packages.microsoft.com/keys/micro... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1543,
"all_permissive": false
} |
ansible_role | mnorell/linux_config | 0a9bd78f627cfecbe228a683aad8b8ae379fc3f5 | 0 | roles/hardware-support | 1,339 | [
"no_license"
] | [
{
"path": "roles/hardware-support/files/fusuma.yml",
"content": "swipe:\n 3: \n left: \n command: 'xdotool key alt+Right'\n interval: 2\n right: \n command: 'xdotool key alt+Left'\n interval: 2\n up: \n command: 'bspc desktop -f prev.local.occupied'\n down: \n comm... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1884,
"all_permissive": false
} |
ansible_role | mnorell/linux_config | 0a9bd78f627cfecbe228a683aad8b8ae379fc3f5 | 0 | roles/paperwm | 1,339 | [
"no_license"
] | [
{
"path": "roles/paperwm/tasks/install.yaml",
"content": "\n- name: Install PIP\n become: true\n ansible.builtin.package:\n name: \n - python3-pip\n - python3-venv\n - gnome-shell-extension-manager\n\n- name: Create Python virtual environment\n command:\n cmd: python3 -m venv ~/bin/p... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 925,
"all_permissive": false
} |
ansible_role | pyaephyohein/ansible-k8s-cluster | 793790c1b3d42402ee0a7871a0309ce0a2eca7db | 0 | roles/apt | 1,339 | [
"no_license"
] | [
{
"path": "roles/apt/tasks/main.yaml",
"content": "---\n- name: Update cache\n become: true\n apt:\n update_cache: yes\n when: apt.update\n\n- name: Upgrade packages to latest\n become: true\n apt:\n upgrade: dist\n when: apt.upgrade\n\n- name: apt install python3-pip\n become: true\n apt:\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 278,
"all_permissive": false
} |
ansible_role | pyaephyohein/ansible-k8s-cluster | 793790c1b3d42402ee0a7871a0309ce0a2eca7db | 0 | roles/argocd | 1,339 | [
"no_license"
] | [
{
"path": "roles/argocd/tasks/main.yaml",
"content": "---\n- name: Copy argocd-value.yaml\n become: true\n copy:\n src: roles/argocd/files/argocd-value.yaml\n dest: /tmp/argocd-value.yaml\n mode: 0777\n- name: Helm Repo add argocd\n kubernetes.core.helm_repository:\n name: argocd\n url: ht... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 976,
"all_permissive": false
} |
ansible_role | pyaephyohein/ansible-k8s-cluster | 793790c1b3d42402ee0a7871a0309ce0a2eca7db | 0 | roles/create-cluster | 1,339 | [
"no_license"
] | [
{
"path": "roles/create-cluster/tasks/main.yaml",
"content": "---\n- name: Check cluster cretaed or not\n become: true\n stat:\n path: /etc/kubernetes/manifests/kube-apiserver.yaml\n register: already_created\n\n- name: initialize the cluster\n when: already_created.stat.exists == False\n become: t... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1506,
"all_permissive": false
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.