atlassian playbook

Want to know atlassian playbook? we have a huge selection of atlassian playbook information on alibabacloud.com

Cluster O & M automation tool ansible uses playbook to install mysql_MySQL

Cluster O M automation tool ansible uses playbook to install mysql Cluster Last time I introduced how to use ansible playbook to install the zabbix client (http://www.bitsCN.com/article/52158.htm), this time I introduced how to use playbook to install mysql. The following is the information for installing mysql: Mysql_basedir:/data/mysql/basedir source code di

Ansible-playbook API 2.0

listvariable_manager.set_inventory (Inventory)#Create play with TasksPlay_source =dict (Name="Ansible Play", the hosts='Web',#the hosts variable that corresponds to the Playbook entry Yaml file, or it can be an IPGather_facts ='No', Tasks=[Dict (Action=dict (module='Shell', args='ifconfig'), register='Shell_out'), #dict (action=dict (module= ' Debug ', Args=dict (msg= ' {{shell_out.stdout}} ' )))]) Play= Play (). Load (Play_source, Variabl

Automatic O & M ansible playbook one-click solution to a large number of host bash updates

Today, we found a bash vulnerability, but I have nearly 1000 servers. To facilitate and save time, I feel that I am using ansible to install the bash update package. Next I will share my installation method. 1. Installed playbook content 19:00:03#cd/etc/ansible[emailprotected]:/etc/ansible19:00:06#catupdate_bash.yml----hosts:"{{host}}"remote_user:"{{user}}"gather_facts:Truetasks:-name:updatebashinredhat6versionyum:name=http://mirrors.hustunique.com/ce

Use the command line tool to convert an Android app to a BlackBerry PlayBook app

Yesterday I wrote an article about Android app conversion. I used BlackBerry's online Conversion Tool to convert Android apps into BlackBerry PlayBook apps. Some netizens reported that the method was a bit difficult, so today we need to add a new conversion method: Use the command line tool to convert the Android Application to the BlackBerry PlayBook application. The first thing to note is that the command

Get a new version of the Java project in Tomcat from the test environment to the production environment using Ansible-playbook

I. Description of the EnvironmentServer with Ansible installed: 192.168.13.45Test environment server: 192.168.13.49/home/app/api-tomcat/webapps/api.war a new version of the war package location for the test environmentProduction Environment server: 192.168.13.51/home/app/api-tomcat/webapps/api.war for production Environment War package location/HOME/APP/API-TOMCAT/WEBAPPS/API for production environment Project location/home/app/tomcat.bak/ api/webapps-timestamp for the old version WebApps backup

Ansible-playbook Script Foundation (i)

playbook:Experimental environment: Two Centos7, one ansible server, one test machine.Ansible Server address: 192.168.71.128Test machine server Address: 192.168.71.129vim /opt/book.yml #首先创建一个以.yml为结尾的文件- hosts: webserver #hosts定义了配置文件中的组名 remote_user: root #剧本中的演员:root用户,也可以是你推送秘钥的任意用户 tasks: #任务,以下是执行什么任务 - name: download apache #自行定义的名称 yum: name=httpd #指定模块,模块后跟相对应的操作 - name: stopped firewalld

Cluster operation and maintenance Automation tool ansible using Playbook installation Mysql_mysql

Last described how to install the Zabbix client (http://www.jb51.net/article/52158.htm) using Ansible playbook, this time describes how to use playbook to install MySQL. Here is the information for installing MySQL: Mysql_basedir:/data/mysql/basedir Source directory mysql_datadir:/data/mysql/datadir Data Directory mysql_user:mysql MySQL user mysql_database_user:root database

Ansible-playbook Basic Use (iii)

;#Ansible: TimeSync* * * * */5 */usr/sbin/ntpdate 172.16.0.1 >/dev/nullDelete Crontab[Email protected] ~]# ansible cce-m cron-a ' name= "TimeSync" state= "absent" '6. Use the Fetch module to pull the directory on the remote host to the local[Email protected] ~]# ansible cce-m fetch-a ' Src=/root/cce dest=/root/cce '7. Use the file module to manage files on the remote host[Email protected] ~]# ansible cce-m file-a ' Path=/root/cce mode=777 '[Email protected] ~]# ansible test-m file-a ' src=/etc/f

Ansible-playbook JDK Installation

Ansible-playbook JDK InstallationThe directory structure for JDK role is as follows:[Email protected] roles]# tree Jdkjdk├──defaults├──files│└──jdk-8u101-linux-x64.tar.gz├──handlers├──meta├──tasks │└──main.yml├──templates└──vars└──main.yml#vars下面的忽略, that's the one that was written before.The contents of the task file are as follows:[[emailprotected]tasks]#catmain.yml-name:copy jdk-8u101-linux-x64.tar.gzremotehostscopy:src=jdk-8u101-linux-x64.tar.gz D

Example of ansible compiling httpd playbook, ansibleplaybook

Example of ansible compiling httpd playbook, ansibleplaybook The following is the content of the playbook. The process is as follows: 1. First, a total of 3 .tar.gz files are downloaded in the local directory of apr, apr-util, and httpd. 2. decompress the three files. 3. Install the pcre and pcre-devel dependency packages. 4. Compile and install apr. 5. Compile and install apr-util. 6. Compile and install h

Ansible Compiling httpd Playbook Example

The following is the content of playbook. Its processing flow is:1. First download APR,APR-UTIL,HTTPD a total of 3. tar.gz files locally.2. Unzip the 3 files.3. Install the Pcre and Pcre-devel dependent packages.4. Compile and install Apr5. Compile and install Apr-util6. Compile and install httpd--- -hosts:all tasks:-Name:download apr,apr-util,httpd Get_url:url="{{Item}}"dest=/root/pkg/With_items:-Https://mirrors.tuna.tsinghua.edu.cn/apache/apr

Ansible Playbook Callbacks

As we all know, Ansible's playbook will not show the standard output.How can you make ansible like commands line with standard output?Ansible boss+merchant+web-m shell-a "Hostname;ip a" 192.168.6.210 |Success | Rc=0 >>pay-boss+merchant+web1:lo: Let's try it with playbook [emailprotected]:/etc/ansible#ansible-playbookplaybooks/ftp.ymlplay[ftp]** gatheringfacts************ ok:[192.168.6.11]task:[makesure pr

How to extend playbook with the lookup_plugins plug-in ansible O & M tool

Frontier: ansible are all good, so let's talk about lookup plugins this plugin. Lookup_plugins is mainly used to implement extensions of various strings and variables within the extended playbook. For me personally, the use is not too big, but looked at the official Lookup_plugins extension list, there are some ideas. When you first use lookup, you encounter a problem where the data in {lookup}} is not processed and no solution is found, and t

Packaged SWF Flash app for playbook air applications

Command line package SWF Flash app for playbook Air applications:Use the Blackberry-airpackager command of the BlackBerry Tablet SDK. Set Path=c:/program files/adobe/adobe Flash Builder 4/sdks/blackberry-tablet-sdk-0.9.1/bin;%path% Blackberry-airpackager-package Splus.bar Splus-app.xml splus.swfDisplay: Using default Icon:c:/program files/adobe/adobe Flash Builder 4/sdks/blackberry-tablet-sdk-0.9.1/bin/. /samples/icons/blackberry-tablet-default-icon.p

3.3 Playbook Roles

ansible Role Ansilbe new features introduced from version 1.2, for hierarchical, structured organization playbook;roles to automatically load variable files, tasks, and handlers based on hierarchical structure.to use roles, you only need to use the include directive in playbook. simply put, roles is a mechanism by which variables, files, tasks, modules, and processors are placed in separate director

Ansible-playbook automatic deployment of MySQL master-slave copy read/write separation

Tags: ansible-playbook automatic deployment MySQL master-slave copy read/write separation Directory structure: ansible-mysql-replication├──group_vars│├──all│├── mysql-proxy│└──mysql-slave├──hosts├──mysql-replication.retry├── Mysql-replication.yml└──roles ├──amoeba │ ├──files ││├── Amoeba-mysql-3.0.5-rc-distribution.zip ││└── jdk-7u79-linux-x64.tar.gz │├──handlers │ ├──tasks ││├── Jdk-7u79-linux-x64.tar.gz ││└──main.yaml │└──templates │ ├──amoeba.xml

Operation and maintenance Automation Ansible Playbook installation of MySQL

1. Create a MySQL playbook structure[Email protected] roles]# pwd/etc/ansible/roles[[email protected] roles]# mkdir-p Mysql_install/{files,handlers,meta, Tasks,templates,vars}[[email protected] roles]# tree mysql_install/mysql_install/├──files├──handlers├──meta├── Tasks├──templates└──vars2. Create the VARs you need to use[Email protected] roles]# cat/etc/ansible/roles/mysql_install/vars/main.ymlmysql_version:mysql-5.5.37 3. Create a Remote Installatio

PlayBook NDK 2.0 compile run Publish project to simulator error: Downloading and starting the application

Running the run configuration in the NDK development tool runs in playbook emulator with the following error: "Downloading and starting the application ..." has encountered a problem. Unable to determine returned PID from launch. One possible cause: NDK 2.0 When creating a project, the default target is Device-debug. Build out binary code is arm, not x86, naturally can not run on the x86 CPU playbook

Ansible8:playbook cycle "Turn"

When using ansible for automating operations, it is unavoidable to repeat certain operations, such as adding several users, creating several MySQL users and giving them permissions, manipulating all files in a directory, and so on. Fortunately, the Playbook supports loop statements, which makes certain requirements very easy and prescriptive to implement.1, With_itemsWith_items is the most basic and most commonly used looping statement in playbooks:Ta

Ansible-playbook Tomcat Deployment

Ansible-playbook Tomcat Deployment#目录树结构如下:[Email protected] roles]# tree Tomcattomcat├──defaults├──files│└──apache-tomcat-7.0.63.zip├──handlers│└──main. Yml├──meta├──tasks│└──main.yml├──templates└──vars└──main.yml#handlers这块并没有用上# Cat Handlers/main.yml-name:stop Tomcat Shell: "Ps-ef |grep tomcat |grep-v grep |awk ' {print $} ' |xargs kill-9"- Name:start Tomcat Shell:chdir=/usr/local/tomcat/bin Sh./startup.sh#启动tomcat这块我发现首次启动用startup. SH startup seem

Total Pages: 15 1 .... 3 4 5 6 7 .... 15 Go to: Go

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.