saltstack - Related information

  • Ansible uses the shell module to set the password for mysql, but always fails the prompt

    1 shell module is used to set the password of mysql, but it is always prompted to fail 2, the code is as follows: - name: Create mysql user user: name: mysql create_home: no shell: sbin nologin - name: Download mysql get_url: u...

  • Salt-cp Times wrong UnicodeDecodeError

    problem description uses salt-cp to copy a compressed package of tar.gz, which reports an error after execution, but the file has been fully transferred to the minion side. the environmental background of the problems and what methods you have tried...

    Oct.22,2021
  • Salt cp.get_dir does not support Chinese file names and folders

    salt cannot copy Chinese files and directories using the cp.get_dir module 1. Existing master tests directory tree structure 2 salt x.x.x.x cp.get_dir salt: tests code () 3minion ab.sh () < H2 > excuse me, is there any way or con...

    Aug.10,2021
  • How did the data ['id'] in reactor in saltstack come from?

    How did the data [ id ] in reactor in salt come from? {% if data[ id ] == mysql1 %} highstate_run: local.state.apply: - tgt: mysql1 {% endif %} {% if data[ data ][ custom_var ] == runit %} call_runit_orch: runner.state.orchestr...

    Apr.02,2021
  • MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
    MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf1a8e-31d9a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
    MySQL Errno : 1021
    Message : Disk full (/tmp/#sql-temptable-64f5-1bf1a8e-31d9a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
    Need Help?