diff --git a/tasks/configure-dbs.yml b/tasks/configure-dbs.yml index 4f74613..0b399ca 100644 --- a/tasks/configure-dbs.yml +++ b/tasks/configure-dbs.yml @@ -1,31 +1,27 @@ --- - yum: name=http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm state=present - yum: name="{{ item }}" state=latest - update_cache=yes with_items: - - vim - - git - - ntp - mysql-community-server - MySQL-python - name: Copy mysql config template: src=my.cnf dest=/etc/my.cnf - name: Copy phabricator stop words copy: src=stopwords.txt dest=/srv/stopwords.txt notify: restart mysql - name: Create database user mysql_user: state=present user={{ mysql_user }} password={{ mysql_pass}} priv=*.*:ALL - host={{ groups['app'][0] }} + host=10.0.0.0/255.255.0.0